summaryrefslogtreecommitdiff
path: root/mysql-test/r/key_diff.result
diff options
context:
space:
mode:
authorsergefp@mysql.com <>2006-07-28 21:27:01 +0400
committersergefp@mysql.com <>2006-07-28 21:27:01 +0400
commit699291a8e68b94cdfdc0cc2c9b865d736d808017 (patch)
tree43dd1049a05d7e894a1de909d7f8cf4eff44540a /mysql-test/r/key_diff.result
parent1459784aba4bbf11fdc18d73ccc9f4cc735edbcd (diff)
downloadmariadb-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/key_diff.result')
-rw-r--r--mysql-test/r/key_diff.result2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/r/key_diff.result b/mysql-test/r/key_diff.result
index c3f4f743967..8097186bde1 100644
--- a/mysql-test/r/key_diff.result
+++ b/mysql-test/r/key_diff.result
@@ -36,7 +36,7 @@ a a a a
explain select t1.*,t2.* from t1,t1 as t2 where t1.A=t2.B;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ALL a NULL NULL NULL 5
-1 SIMPLE t2 ALL b NULL NULL NULL 4 Using where
+1 SIMPLE t2 ALL b NULL NULL NULL 5 Using where
select t1.*,t2.* from t1,t1 as t2 where t1.A=t2.B order by binary t1.a,t2.a;
a b a b
A B a a