summaryrefslogtreecommitdiff
path: root/mysql-test/t/create.test
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2015-12-07 09:34:41 +0200
committerJan Lindström <jan.lindstrom@mariadb.com>2015-12-07 09:34:41 +0200
commit0df22a539e046a9090a99f10260cf6d80f0c4e26 (patch)
tree45f796b6b2b8d2f1da074ce430d5df422eabd48a /mysql-test/t/create.test
parentd85168e40d12de12c119b98ea92c35f3c2fe1f3f (diff)
downloadmariadb-git-0df22a539e046a9090a99f10260cf6d80f0c4e26.tar.gz
MDEV-7050: MySQL#74603 - Assertion `comma_length > 0' failed in mysql_prepare_create_table
Incorrect array lenght for comma buffer.
Diffstat (limited to 'mysql-test/t/create.test')
-rw-r--r--mysql-test/t/create.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/t/create.test b/mysql-test/t/create.test
index 6de2c50ab36..e066dc6277d 100644
--- a/mysql-test/t/create.test
+++ b/mysql-test/t/create.test
@@ -2053,3 +2053,11 @@ select * from t1;
show create table t1;
drop table t1;
+
+#
+# MDEV-7050: MySQL#74603 - Assertion `comma_length > 0' failed in mysql_prepare_create_table
+#
+set @@session.collation_server=filename;
+create table t1(a enum('',''));
+drop table t1;
+set @@session.collation_server=default;