summaryrefslogtreecommitdiffstats
path: root/mysql-test/main/subselect_no_exists_to_in.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/subselect_no_exists_to_in.test')
-rw-r--r--mysql-test/main/subselect_no_exists_to_in.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/main/subselect_no_exists_to_in.test b/mysql-test/main/subselect_no_exists_to_in.test
new file mode 100644
index 00000000..4f39cfbd
--- /dev/null
+++ b/mysql-test/main/subselect_no_exists_to_in.test
@@ -0,0 +1,11 @@
+#
+# Run subselect.test with exists to in transformation
+#
+select @@optimizer_switch like '%exists_to_in=off%';
+set optimizer_switch='exists_to_in=off';
+
+--source subselect.test
+
+set optimizer_switch=default;
+select @@optimizer_switch like '%exists_to_in=off%';
+