diff options
author | sergefp@mysql.com <> | 2006-07-28 21:27:01 +0400 |
---|---|---|
committer | sergefp@mysql.com <> | 2006-07-28 21:27:01 +0400 |
commit | 699291a8e68b94cdfdc0cc2c9b865d736d808017 (patch) | |
tree | 43dd1049a05d7e894a1de909d7f8cf4eff44540a /mysql-test/r/cast.result | |
parent | 1459784aba4bbf11fdc18d73ccc9f4cc735edbcd (diff) | |
download | mariadb-git-699291a8e68b94cdfdc0cc2c9b865d736d808017.tar.gz |
BUG#14940 "MySQL choose wrong index", v.2
- Make the range-et-al optimizer produce E(#table records after table
condition is applied),
- Make the join optimizer use this value,
- Add "filtered" column to EXPLAIN EXTENDED to show
fraction of records left after table condition is applied
- Adjust test results, add comments
Diffstat (limited to 'mysql-test/r/cast.result')
-rw-r--r-- | mysql-test/r/cast.result | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/r/cast.result b/mysql-test/r/cast.result index 3478353b0ec..5e8f5dca711 100644 --- a/mysql-test/r/cast.result +++ b/mysql-test/r/cast.result @@ -19,8 +19,8 @@ select ~5, cast(~5 as signed); ~5 cast(~5 as signed) 18446744073709551610 -6 explain extended select ~5, cast(~5 as signed); -id select_type table type possible_keys key key_len ref rows Extra -1 SIMPLE NULL NULL NULL NULL NULL NULL NULL No tables used +id select_type table type possible_keys key key_len ref rows filtered Extra +1 SIMPLE NULL NULL NULL NULL NULL NULL NULL NULL No tables used Warnings: Note 1003 select ~(5) AS `~5`,cast(~(5) as signed) AS `cast(~5 as signed)` select cast(5 as unsigned) -6.0; |