summaryrefslogtreecommitdiff
path: root/mysql-test/t/optimizer_switch_eng_cond_pushdown2.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/optimizer_switch_eng_cond_pushdown2.test')
-rw-r--r--mysql-test/t/optimizer_switch_eng_cond_pushdown2.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/t/optimizer_switch_eng_cond_pushdown2.test b/mysql-test/t/optimizer_switch_eng_cond_pushdown2.test
new file mode 100644
index 00000000000..187aa145408
--- /dev/null
+++ b/mysql-test/t/optimizer_switch_eng_cond_pushdown2.test
@@ -0,0 +1,5 @@
+# check how --engine-condition-pushdown and --optimizer-switch
+# influence each other when used together (last wins).
+select @@session.engine_condition_pushdown,
+@@global.engine_condition_pushdown,
+@@session.optimizer_switch, @@global.optimizer_switch;