summaryrefslogtreecommitdiff
path: root/mysql-test/t/partition_binlog_stmt.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/partition_binlog_stmt.test')
-rw-r--r--mysql-test/t/partition_binlog_stmt.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/t/partition_binlog_stmt.test b/mysql-test/t/partition_binlog_stmt.test
index cc57222dc3c..8aa800861d7 100644
--- a/mysql-test/t/partition_binlog_stmt.test
+++ b/mysql-test/t/partition_binlog_stmt.test
@@ -12,12 +12,14 @@ DROP TABLE IF EXISTS t1;
abcd
EOF
+SET sql_mode = 'NO_ENGINE_SUBSTITUTION';
CREATE TABLE t1
(id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
name TINYBLOB NOT NULL,
modified TIMESTAMP DEFAULT '0000-00-00 00:00:00',
INDEX namelocs (name(255))) ENGINE = MyISAM
PARTITION BY HASH(id) PARTITIONS 2;
+SET sql_mode = DEFAULT;
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
eval LOAD DATA LOCAL INFILE '$MYSQLTEST_VARDIR/tmp/init_file.txt'