set @mrr_icp_extra_tmp=@@optimizer_switch; set optimizer_switch='mrr=on,mrr_sort_keys=on,index_condition_pushdown=on'; set optimizer_switch='rowid_filter=off'; --source range.test set optimizer_switch=@mrr_icp_extra_tmp;