diff options
author | Igor Babaev <igor@askmonty.org> | 2011-11-26 14:23:00 -0800 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2011-11-26 14:23:00 -0800 |
commit | 17b4e4a194ea513f776bab5010d88d24a51b9d9e (patch) | |
tree | ffe20f58c4b68af894ebedf30cb3dba679300a66 /mysql-test/r/subselect_partial_match.result | |
parent | d84ea521c539e4f63511f1787df4b4dcb12886d1 (diff) | |
download | mariadb-git-17b4e4a194ea513f776bab5010d88d24a51b9d9e.tar.gz |
Set new default values for the optimizer switch flags 'derived_merge'
and 'derived_with_keys'. Now they are set on by default.
Diffstat (limited to 'mysql-test/r/subselect_partial_match.result')
-rw-r--r-- | mysql-test/r/subselect_partial_match.result | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/r/subselect_partial_match.result b/mysql-test/r/subselect_partial_match.result index d23f9885f44..a01d6375064 100644 --- a/mysql-test/r/subselect_partial_match.result +++ b/mysql-test/r/subselect_partial_match.result @@ -766,6 +766,8 @@ CREATE TABLE t2 (b1 int DEFAULT NULL, b2 int DEFAULT NULL); INSERT INTO t2 VALUES (6,NULL); INSERT INTO t2 VALUES (NULL,0); set @@optimizer_switch='materialization=on,semijoin=off,partial_match_rowid_merge=on,partial_match_table_scan=on'; +set @tmp_optimizer_switch=@@optimizer_switch; +set optimizer_switch='derived_merge=off,derived_with_keys=off'; EXPLAIN EXTENDED SELECT * FROM (SELECT * FROM t1 WHERE a1 NOT IN (SELECT b2 FROM t2)) table1; id select_type table type possible_keys key key_len ref rows filtered Extra @@ -774,6 +776,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra 3 SUBQUERY t2 ALL NULL NULL NULL NULL 2 100.00 Warnings: Note 1003 select `table1`.`a1` AS `a1`,`table1`.`a2` AS `a2` from (select `test`.`t1`.`a1` AS `a1`,`test`.`t1`.`a2` AS `a2` from `test`.`t1` where (not(<in_optimizer>(`test`.`t1`.`a1`,`test`.`t1`.`a1` in ( <materialize> (select `test`.`t2`.`b2` from `test`.`t2` ), <primary_index_lookup>(`test`.`t1`.`a1` in <temporary table> on distinct_key where ((`test`.`t1`.`a1` = `<subquery3>`.`b2`)))))))) `table1` +set optimizer_switch=@tmp_optimizer_switch; DROP TABLE t1, t2; # # LP BUG#613009 Crash in Ordered_key::get_field_idx |