summaryrefslogtreecommitdiff
path: root/mysql-test/r/subselect_cache.result
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2011-12-15 00:21:15 -0800
committerIgor Babaev <igor@askmonty.org>2011-12-15 00:21:15 -0800
commitf5dac20f38fcf581b0616562cd2da21fb8c50218 (patch)
treebfa94f668924256290b553ee80b1380b1066344c /mysql-test/r/subselect_cache.result
parentefb57a8ebf798eee816981488c901539ec9fcdad (diff)
downloadmariadb-git-f5dac20f38fcf581b0616562cd2da21fb8c50218.tar.gz
Made the optimizer switch flags 'outer_join_with_cache', 'semijoin_with_cache'
set to 'on' by default.
Diffstat (limited to 'mysql-test/r/subselect_cache.result')
-rw-r--r--mysql-test/r/subselect_cache.result4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/r/subselect_cache.result b/mysql-test/r/subselect_cache.result
index 9bedf154cfd..1dd1655c2a6 100644
--- a/mysql-test/r/subselect_cache.result
+++ b/mysql-test/r/subselect_cache.result
@@ -1,5 +1,8 @@
drop table if exists t1,t2,t3,t4,t5;
drop view if exists v1;
+SET @save_optimizer_switch=@@optimizer_switch;
+SET optimizer_switch='outer_join_with_cache=off';
+SET optimizer_switch='semijoin_with_cache=off';
set optimizer_switch='subquery_cache=on';
create table t1 (a int, b int);
insert into t1 values (1,2),(3,4),(1,2),(3,4),(3,4),(4,5),(4,5),(5,6),(5,6),(4,5);
@@ -3382,5 +3385,6 @@ pk b
29 3
drop view v1;
drop table t1,t2,t3,t4;
+SET optimizer_switch=@save_optimizer_switch;
# restore default
set @@optimizer_switch= default;