summaryrefslogtreecommitdiff
path: root/mysql-test/t/strict.test
diff options
context:
space:
mode:
authorChad MILLER <chad@mysql.com>2009-01-21 13:45:23 -0500
committerChad MILLER <chad@mysql.com>2009-01-21 13:45:23 -0500
commitd3629d7489b759bcf3774d5ae958c8436161aa43 (patch)
treef3c1ce77afa4c0b708ac702616710c680ec86ec2 /mysql-test/t/strict.test
parentc5738c0051cfd903804afd06353f3dc431ec2726 (diff)
parent374f49b2629114a9473268da4321af405a9d2394 (diff)
downloadmariadb-git-d3629d7489b759bcf3774d5ae958c8436161aa43.tar.gz
Merge from Tim's 5.0.76-release tree to make 5.0.77 .
Diffstat (limited to 'mysql-test/t/strict.test')
-rw-r--r--mysql-test/t/strict.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/t/strict.test b/mysql-test/t/strict.test
index 2b71bf1093c..f66c2913ac9 100644
--- a/mysql-test/t/strict.test
+++ b/mysql-test/t/strict.test
@@ -1200,6 +1200,15 @@ show create table t1;
drop table t1;
#
+# Bug #39591: Crash if table comment is longer than 62 characters
+#
+
+#60 chars, 120 (+1) bytes (UTF-8 with 2-byte chars)
+CREATE TABLE t3 (f1 INT) COMMENT 'כקבהחןכקבהחןכקבהחןכקבהחןכקבהחןכקבהחןכקבהחןכקבהחןכקבהחןכקבהחן';
+SHOW CREATE TABLE t3;
+DROP TABLE t3;
+
+#
# Bug #26359: Strings becoming truncated and converted to numbers under STRICT mode
#
set sql_mode= 'traditional';