#
# MRR/InnoDB tests.
# (Runs with all 6.0 optimizer switches on)
#

--source include/have_innodb.inc
--source include/have_semijoin.inc
--source include/have_materialization.inc
--source include/have_firstmatch.inc
--source include/have_loosescan.inc
--source include/have_index_condition_pushdown.inc
--source include/have_mrr.inc

set optimizer_switch='semijoin=on,materialization=on,firstmatch=on,loosescan=on,index_condition_pushdown=on,mrr=on,mrr_cost_based=off';

set @save_storage_engine= @@default_storage_engine;
set default_storage_engine=InnoDB;

--source include/mrr_tests.inc 
--source include/mrr_innodb_tests.inc

set default_storage_engine= @save_storage_engine;
set optimizer_switch=default;

