summaryrefslogtreecommitdiff
path: root/mysql-test/t/innodb_no_mrricp.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/innodb_no_mrricp.test')
-rw-r--r--mysql-test/t/innodb_no_mrricp.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/innodb_no_mrricp.test b/mysql-test/t/innodb_no_mrricp.test
new file mode 100644
index 00000000000..df0a3e44de5
--- /dev/null
+++ b/mysql-test/t/innodb_no_mrricp.test
@@ -0,0 +1,10 @@
+
+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;
+