summaryrefslogtreecommitdiff
path: root/mysql-test/t/ctype_ldml.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/ctype_ldml.test')
-rw-r--r--mysql-test/t/ctype_ldml.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/t/ctype_ldml.test b/mysql-test/t/ctype_ldml.test
index 1d58daa89e4..b79f8daf22e 100644
--- a/mysql-test/t/ctype_ldml.test
+++ b/mysql-test/t/ctype_ldml.test
@@ -120,7 +120,9 @@ DROP TABLE t1;
# Crash happened with a user-defined utf8 collation,
# on attempt to insert a string longer than the column can store.
CREATE TABLE t1 (c1 VARCHAR(10) CHARACTER SET utf8 COLLATE utf8_test_ci);
+SET sql_mode='';
INSERT INTO t1 SELECT REPEAT('a',11);
+SET sql_mode=default;
DROP TABLE t1;
#