diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-11-10 17:51:20 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-11-10 17:51:20 +0100 |
commit | 5ffa6904d2a187d78a9adc4eaf077f7cc4e5946b (patch) | |
tree | e1360671be66e0e52993dd412f12e9192625e240 /mysql-test/t/create.test | |
parent | f3c63615d88a27fe6bb8e6201b4f3f542acf6d6f (diff) | |
download | mariadb-git-5ffa6904d2a187d78a9adc4eaf077f7cc4e5946b.tar.gz |
MDEV-4880 Attempt to create a table without columns produces ER_ILLEGAL_HA instead of ER_TABLE_MUST_HAVE_COLUMNS
Diffstat (limited to 'mysql-test/t/create.test')
-rw-r--r-- | mysql-test/t/create.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/t/create.test b/mysql-test/t/create.test index a1152045dd9..ebcad5f4af4 100644 --- a/mysql-test/t/create.test +++ b/mysql-test/t/create.test @@ -2019,3 +2019,10 @@ connection default; select * from t1; unlock tables; drop table t1,t2; + +# +# MDEV-4880 Attempt to create a table without columns produces ER_ILLEGAL_HA instead of ER_TABLE_MUST_HAVE_COLUMNS +# +--error ER_TABLE_MUST_HAVE_COLUMNS +create table t1; + |