mariadb/mysql-test/t/subselect_no_opts.test
Sergey Petrunya c1de6f8b77 Change the default @@optimizer_switch setting from
semijoin=on,firstmatch=on,loosescan=on
to
  semijoin=off,firstmatch=off,loosescan=off
Adjust the testcases:
- Modify subselect*.test and join_cache.test so that all tests
  use the same execution paths as before (i.e. optimizations that
  are being tested are enabled)
- Let all other test files run with the new default settings (i.e.
  with new optimizations disabled)
- Copy subquery testcases from these files into t/subselect_extra.test
  which will run them with new optimizations enabled.
2011-07-05 01:44:15 +04:00

9 lines
254 B
Text

#
# Run subselect.test without semi-join and materialization optimizations
# (test in-to-exists)
set @optimizer_switch_for_subselect_test='materialization=off,semijoin=off';
--source t/subselect.test
set @optimizer_switch_for_subselect_test=null;