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/index_merge_innodb.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/index_merge_innodb.result')
-rw-r--r-- | mysql-test/r/index_merge_innodb.result | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/r/index_merge_innodb.result b/mysql-test/r/index_merge_innodb.result index 773e74f9701..bde2324028f 100644 --- a/mysql-test/r/index_merge_innodb.result +++ b/mysql-test/r/index_merge_innodb.result @@ -686,6 +686,8 @@ INSERT INTO t1(a,b) SELECT a,b FROM t1; INSERT INTO t1(a,b) SELECT a,b FROM t1; INSERT INTO t1 VALUES (1000000, 0, 0); SET SESSION sort_buffer_size = 1024*36; +set @tmp_optimizer_switch=@@optimizer_switch; +set optimizer_switch='derived_merge=off,derived_with_keys=off'; EXPLAIN SELECT COUNT(*) FROM (SELECT * FROM t1 FORCE INDEX(primary,idx) @@ -711,6 +713,7 @@ WHERE a BETWEEN 2 AND 7 OR pk=1000000) AS t; COUNT(*) 6145 DROP TABLE t1; +set optimizer_switch=@tmp_optimizer_switch; # # Testcase Backport: BUG#48093: 6.0 Server not processing equivalent IN clauses properly # with Innodb tables |