summaryrefslogtreecommitdiff
path: root/mysql-test/main/analyze.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/analyze.test')
-rw-r--r--mysql-test/main/analyze.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/main/analyze.test b/mysql-test/main/analyze.test
index 0903db1eca4..85a88158162 100644
--- a/mysql-test/main/analyze.test
+++ b/mysql-test/main/analyze.test
@@ -13,6 +13,8 @@
# before calling mi_state_info_write
#
+--source include/default_optimizer_switch.inc
+
create table t1 (a bigint);
lock tables t1 write;
insert into t1 values(0);