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_sj.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_sj.result')
-rw-r--r-- | mysql-test/r/subselect_sj.result | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/r/subselect_sj.result b/mysql-test/r/subselect_sj.result index d5ab105207f..a9b4b4cb0cf 100644 --- a/mysql-test/r/subselect_sj.result +++ b/mysql-test/r/subselect_sj.result @@ -1862,6 +1862,8 @@ INSERT INTO t2 VALUES (1,2,4,'22:34:09','v','v'), (16,8,1,'02:57:29',NULL,NULL),(17,3,1,'16:46:13','r','r'), (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, @@ -1897,6 +1899,7 @@ WHERE alias1.c IN (SELECT SQ3_alias1.b 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; |