summaryrefslogtreecommitdiff
path: root/mysql-test/t/subselect_no_opts.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/subselect_no_opts.test')
-rw-r--r--mysql-test/t/subselect_no_opts.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/t/subselect_no_opts.test b/mysql-test/t/subselect_no_opts.test
index 724cbab6310..8a699fefaf7 100644
--- a/mysql-test/t/subselect_no_opts.test
+++ b/mysql-test/t/subselect_no_opts.test
@@ -4,6 +4,10 @@
set @optimizer_switch_for_subselect_test='materialization=off,semijoin=off,subquery_cache=off,mrr=on,mrr_sort_keys=on,index_condition_pushdown=on';
+
+set join_cache_level=1;
+set @join_cache_level_for_subselect_test=@@join_cache_level;
+
--source t/subselect.test
set @optimizer_switch_for_subselect_test=null;