diff options
Diffstat (limited to 'mysql-test/t/subselect_scache.test')
-rw-r--r-- | mysql-test/t/subselect_scache.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/t/subselect_scache.test b/mysql-test/t/subselect_scache.test new file mode 100644 index 00000000000..0032b148643 --- /dev/null +++ b/mysql-test/t/subselect_scache.test @@ -0,0 +1,11 @@ +# +# Run subselect.test without semi-join optimization (test materialize) +# +select @@optimizer_switch like '%subquery_cache=on%'; +set optimizer_switch='subquery_cache=on'; + +--source t/subselect.test + +set optimizer_switch=default; +select @@optimizer_switch like '%subquery_cache=on%'; + |