mariadb/mysql-test/t/subselect_no_mat.test
Sergey Petrunya 1492de8563 Set the default to be mrr=off,mrr_sort_keys=off:
- Set the default
- Adjust the testcases so that 'new' tests are run with optimizations turned on.
- Pull out relevant tests from "irrelevant" tests and run them with optimizations on.
- Run range.test and innodb.test with both mrr=on and mrr=off
2011-07-08 18:46:47 +04:00

12 lines
365 B
Text

#
# Run subselect.test without semi-join optimization (test materialize)
#
select @@optimizer_switch like '%materialization=on%';
set optimizer_switch='materialization=off';
set optimizer_switch='mrr=on,mrr_sort_keys=on,index_condition_pushdown=on';
--source t/subselect.test
set optimizer_switch=default;
select @@optimizer_switch like '%materialization=on%';