summaryrefslogtreecommitdiff
path: root/mysql-test/t/strict.test
diff options
context:
space:
mode:
authorTatiana A. Nurnberg <azundris@mysql.com>2008-12-01 05:17:52 +0100
committerTatiana A. Nurnberg <azundris@mysql.com>2008-12-01 05:17:52 +0100
commitd6f4b89b5a27192bd5b388998cddd8eb7b4dc437 (patch)
tree00b9cc505f77541ae70b5bde678e29e9fcacbd9f /mysql-test/t/strict.test
parent36c4b37b16f5f44c97aae330856b742fa708b85f (diff)
parent85c04371d794efdb0134a40320757c0d660596a4 (diff)
downloadmariadb-git-d6f4b89b5a27192bd5b388998cddd8eb7b4dc437.tar.gz
manual merge
mysql-test/r/strict.result: DEFAULT is now uppercase in SHOW CREATE TABLE mysql-test/t/strict.test: as in 5.0 sql/unireg.cc: add explanations, remove obsolete debug code
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 486f7ce7897..f2ce045840c 100644
--- a/mysql-test/t/strict.test
+++ b/mysql-test/t/strict.test
@@ -1199,6 +1199,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';