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.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/subselect_no_opts.test b/mysql-test/t/subselect_no_opts.test
new file mode 100644
index 00000000000..724cbab6310
--- /dev/null
+++ b/mysql-test/t/subselect_no_opts.test
@@ -0,0 +1,10 @@
+#
+# 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';
+--source t/subselect.test
+
+set @optimizer_switch_for_subselect_test=null;
+