2011-01-14 16:38:41 +03:00
|
|
|
#
|
|
|
|
# ICP/Maria tests (Index Condition Pushdown)
|
|
|
|
#
|
|
|
|
|
|
|
|
--source include/have_maria.inc
|
2019-08-30 16:06:54 +03:00
|
|
|
--source include/default_optimizer_switch.inc
|
2011-01-14 16:38:41 +03:00
|
|
|
|
2020-01-13 21:07:04 +02:00
|
|
|
set @save_storage_engine= @@default_storage_engine;
|
|
|
|
set default_storage_engine=Maria;
|
2011-07-08 18:46:47 +04:00
|
|
|
set @maria_icp_tmp=@@optimizer_switch;
|
|
|
|
set optimizer_switch='mrr=on,mrr_sort_keys=on,index_condition_pushdown=on';
|
2011-01-14 16:38:41 +03:00
|
|
|
|
|
|
|
--source include/icp_tests.inc
|
|
|
|
|
2020-01-13 21:07:04 +02:00
|
|
|
set default_storage_engine= @save_storage_engine;
|
2011-07-08 18:46:47 +04:00
|
|
|
set optimizer_switch=@maria_icp_tmp;
|
|
|
|
|
2011-01-14 16:38:41 +03:00
|
|
|
|