summaryrefslogtreecommitdiff
path: root/mysql-test/t/strict.test
diff options
context:
space:
mode:
authorramil@mysql.com <>2005-05-12 15:56:04 +0500
committerramil@mysql.com <>2005-05-12 15:56:04 +0500
commit152f751831028afcaa8e5c613f5e271ec23369b9 (patch)
tree74fb1f2fcec48922e11ae91e1bf428a2256752c8 /mysql-test/t/strict.test
parent7ca3f018e70215f20c7ed48f48335fbe6c6237cd (diff)
downloadmariadb-git-152f751831028afcaa8e5c613f5e271ec23369b9.tar.gz
fix (Bug #8295 and #8296: varchar and varbinary conversion)
select, gis & gis-tree tests fails at the moment, but I will push this CS because it was tested before and I'm absolutely sure it's right.
Diffstat (limited to 'mysql-test/t/strict.test')
-rw-r--r--mysql-test/t/strict.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/strict.test b/mysql-test/t/strict.test
index 333ec40b1b9..298653b554a 100644
--- a/mysql-test/t/strict.test
+++ b/mysql-test/t/strict.test
@@ -1083,3 +1083,13 @@ INSERT INTO t1 SET j = 1, i = DEFAULT;
INSERT INTO t1 SET j = 1, i = DEFAULT(i);
INSERT INTO t1 VALUES (DEFAULT,1);
DROP TABLE t1;
+
+#
+# Bugs #8295 and #8296: varchar and varbinary conversion
+#
+
+set @@sql_mode='traditional';
+--error 1074
+create table t1(a varchar(65537));
+--error 1074
+create table t1(a varbinary(65537));