diff options
author | Igor Babaev <igor@askmonty.org> | 2011-09-30 18:55:02 -0700 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2011-09-30 18:55:02 -0700 |
commit | 715dc5f99ddf852a5ef45bcb68c6c86298f6a7c3 (patch) | |
tree | 3557e3bfdfa8723372daf13fa6f46ffdd30483b6 /mysql-test/r/select.result | |
parent | 42b928ca05fca3ae8858566622a3a483a70aa3fc (diff) | |
download | mariadb-git-715dc5f99ddf852a5ef45bcb68c6c86298f6a7c3.tar.gz |
Fixed a cost estimation bug introduced into in the function best_access_path
of the 5.3 code line after a merge with 5.2 on 2010-10-28
in order not to allow the cost to access a joined table to be equal
to 0 ever.
Expanded data sets for many test cases to get the same execution plans
as before.
Diffstat (limited to 'mysql-test/r/select.result')
-rw-r--r-- | mysql-test/r/select.result | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/r/select.result b/mysql-test/r/select.result index 8f4d5eba1fe..fde22cb20fb 100644 --- a/mysql-test/r/select.result +++ b/mysql-test/r/select.result @@ -2394,6 +2394,7 @@ CREATE TABLE t1 ( a BLOB, INDEX (a(20)) ); CREATE TABLE t2 ( a BLOB, INDEX (a(20)) ); INSERT INTO t1 VALUES ('one'),('two'),('three'),('four'),('five'); INSERT INTO t2 VALUES ('one'),('two'),('three'),('four'),('five'); +INSERT INTO t2 VALUES ('one'),('two'),('three'),('four'),('five'); EXPLAIN SELECT * FROM t1 LEFT JOIN t2 USE INDEX (a) ON t1.a=t2.a; id select_type table type possible_keys key key_len ref rows Extra 1 SIMPLE t1 ALL NULL NULL NULL NULL 5 |