summaryrefslogtreecommitdiffstats
path: root/mysql-test/main/subselect_no_opts.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/subselect_no_opts.test')
-rw-r--r--mysql-test/main/subselect_no_opts.test14
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/main/subselect_no_opts.test b/mysql-test/main/subselect_no_opts.test
new file mode 100644
index 00000000..ddc0dc6c
--- /dev/null
+++ b/mysql-test/main/subselect_no_opts.test
@@ -0,0 +1,14 @@
+#
+# Run subselect.test without semi-join and materialization optimizations
+# (test in-to-exists)
+
+
+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 subselect.test
+
+set @optimizer_switch_for_subselect_test=null;
+