summaryrefslogtreecommitdiff
path: root/mysql-test/suite/innodb/t/innodb_bug53592.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/innodb/t/innodb_bug53592.test')
-rw-r--r--mysql-test/suite/innodb/t/innodb_bug53592.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb/t/innodb_bug53592.test b/mysql-test/suite/innodb/t/innodb_bug53592.test
index 6c0f5a8422d..a809afeb5db 100644
--- a/mysql-test/suite/innodb/t/innodb_bug53592.test
+++ b/mysql-test/suite/innodb/t/innodb_bug53592.test
@@ -26,6 +26,7 @@ create unique index bug53592_c on bug53592(c(1));
# To get the correct index number, the code should go through index
# translation table. Otherwise, it will get the wrong index
# number and later trigger a server crash.
+set statement sql_mode = '' for
replace into bug53592 values (),();
check table bug53592;
@@ -52,6 +53,7 @@ create unique index bug53592_c on bug53592(c(1));
# To get the correct index number, the code should go through index
# translation table. Otherwise, it will get the wrong index
# number and later trigger a server crash.
+set statement sql_mode = '' for
replace into bug53592 values (),();
check table bug53592;