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/t/subselect_sj.test | |
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/t/subselect_sj.test')
-rw-r--r-- | mysql-test/t/subselect_sj.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/t/subselect_sj.test b/mysql-test/t/subselect_sj.test index 5ae968742aa..a2f46c76fce 100644 --- a/mysql-test/t/subselect_sj.test +++ b/mysql-test/t/subselect_sj.test @@ -1690,6 +1690,9 @@ INSERT INTO t2 VALUES (1,2,4,'22:34:09','v','v'), (18,3,9,'19:39:02','v','v'),(19,9,1,NULL,NULL,NULL), (20,6,5,'20:58:33','r','r'); +set @tmp_optimizer_switch=@@optimizer_switch; +set optimizer_switch='derived_merge=off,derived_with_keys=off'; + explain SELECT alias1.a, alias1.b, alias1.c, alias1.d, alias1.e, alias1.f, @@ -1720,6 +1723,8 @@ WHERE FROM t2 AS SQ3_alias1 STRAIGHT_JOIN t2 AS SQ3_alias2) LIMIT 100; +set optimizer_switch=@tmp_optimizer_switch; + drop table t1,t2, t3; set optimizer_switch=@tmp_830993; set join_buffer_size= @tmp_830993_jbs; |