summaryrefslogtreecommitdiff
path: root/mysql-test/t/ctype_ldml.test
diff options
context:
space:
mode:
authorNirbhay Choubey <nirbhay@mariadb.com>2017-01-18 11:44:47 -0500
committerNirbhay Choubey <nirbhay@mariadb.com>2017-01-18 11:44:47 -0500
commita3a91332d006fd39a32e1f6d4663e11515ea944b (patch)
tree560c152c9f8146a4c1bcd52ad2a2fa454be48aec /mysql-test/t/ctype_ldml.test
parent2805baf06c31dac21604148ec089300461790e3d (diff)
downloadmariadb-git-a3a91332d006fd39a32e1f6d4663e11515ea944b.tar.gz
MDEV-7635: Update tests to adapt to the new default sql_modebb-10.2-mdev7635.savedbb-10.2-mdev7635.final
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;
#