mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 05:52:27 +01:00
1492de8563
- 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
17 lines
387 B
Text
17 lines
387 B
Text
#
|
|
# ICP/InnoDB tests (Index Condition Pushdown)
|
|
#
|
|
|
|
--source include/have_innodb.inc
|
|
|
|
set @save_storage_engine= @@storage_engine;
|
|
set storage_engine=InnoDB;
|
|
|
|
set @innodb_icp_tmp=@@optimizer_switch;
|
|
set optimizer_switch='mrr=on,mrr_sort_keys=on,index_condition_pushdown=on';
|
|
|
|
--source include/icp_tests.inc
|
|
|
|
set optimizer_switch=@innodb_icp_tmp;
|
|
set storage_engine= @save_storage_engine;
|
|
|