1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-4880 Attempt to create a table without columns produces ER_ILLEGAL_HA instead of ER_TABLE_MUST_HAVE_COLUMNS

This commit is contained in:
Sergei Golubchik
2013-11-10 17:51:20 +01:00
parent f3c63615d8
commit 5ffa6904d2
3 changed files with 10 additions and 1 deletions

View File

@ -2607,3 +2607,5 @@ a b
1 1
unlock tables;
drop table t1,t2;
create table t1;
ERROR 42000: A table must have at least 1 column