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/heap_hash.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/heap_hash.result')
-rw-r--r-- | mysql-test/r/heap_hash.result | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/r/heap_hash.result b/mysql-test/r/heap_hash.result index d4dea8b3a2e..bf7c250cbcf 100644 --- a/mysql-test/r/heap_hash.result +++ b/mysql-test/r/heap_hash.result @@ -166,7 +166,7 @@ alter table t1 add column new_col char(1) not null, add key using HASH (btn,new_ update t1 set new_col=left(btn,1); explain select * from t1 where btn="a"; id select_type table type possible_keys key key_len ref rows Extra -1 SIMPLE t1 ALL btn NULL NULL NULL 11 Using where +1 SIMPLE t1 ALL btn NULL NULL NULL 14 Using where explain select * from t1 where btn="a" and new_col="a"; id select_type table type possible_keys key key_len ref rows Extra 1 SIMPLE t1 ref btn btn 11 const,const 2 Using where |