1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-13 01:01:44 +03:00
mariadb/mysql-test/t/innodb_no_mrricp.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

11 lines
288 B
Plaintext

set @innodb_with_mrricp=@@optimizer_switch;
set optimizer_switch='mrr=on,mrr_sort_keys=on,index_condition_pushdown=on';
set @innodb_test_dont_touch_optimizer_switch=1;
--source t/innodb.test
set @innodb_test_dont_touch_optimizer_switch=NULL;
set optimizer_switch=@innodb_with_mrricp;