summaryrefslogtreecommitdiff
path: root/mysql-test/main/subselect2.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/subselect2.test')
-rw-r--r--mysql-test/main/subselect2.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/main/subselect2.test b/mysql-test/main/subselect2.test
index 5f7e5f80626..3b982b8b7d0 100644
--- a/mysql-test/main/subselect2.test
+++ b/mysql-test/main/subselect2.test
@@ -7,6 +7,7 @@
--disable_warnings
drop table if exists t1, t2, t3, t4;
--enable_warnings
+--source include/default_optimizer_switch.inc
set @subselect2_test_tmp=@@optimizer_switch;
set optimizer_switch='semijoin=on,firstmatch=on,mrr=on,mrr_sort_keys=on,index_condition_pushdown=on';
@@ -396,7 +397,7 @@ DEALLOCATE PREPARE stmt;
DROP VIEW v1;
DROP TABLE t1,t2,t3;
-set optimizer_switch=@subselect2_test_tmp;
+set optimizer_switch=@save_optimizer_switch;
#
# Bug #23303485 : HANDLE_FATAL_SIGNAL (SIG=11) IN SUBSELECT_UNION_ENGINE::NO_ROWS