summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2003-03-14 17:08:42 +0200
committerunknown <monty@mashka.mysql.fi>2003-03-14 17:08:42 +0200
commit03b0df9481c6f83ab67c1c79d8c6cc2db0ca9223 (patch)
tree2c4870b4c69060f127e0c4aca401c4312128a363 /mysql-test
parentf3eb7fe0c3259b001f77c30844f42f96562c23f1 (diff)
downloadmariadb-git-03b0df9481c6f83ab67c1c79d8c6cc2db0ca9223.tar.gz
Check for empty table/column names
mysql-test/t/create.test: Test for empty table/column name tests/grant.pl: More tests tests/grant.res: More tests
Diffstat (limited to 'mysql-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 1a829eec6a3..b11c07e5b8d 100644
--- a/mysql-test/t/create.test
+++ b/mysql-test/t/create.test
@@ -59,6 +59,14 @@ create table test_$1.test2$ (a int);
drop table test_$1.test2$;
drop database test_$1;
+--error 1103
+create table `` (a int);
+--error 1103
+drop table if exists ``;
+--error 1166
+create table t1 (`` int);
+drop table if exists t1;
+
#
# Test of CREATE ... SELECT with indexes
#