mirror of
https://github.com/MariaDB/server.git
synced 2026-04-28 11:15:33 +02: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:
parent
f3c63615d8
commit
5ffa6904d2
3 changed files with 10 additions and 1 deletions
|
|
@ -4579,7 +4579,7 @@ bool create_table_impl(THD *thd,
|
|||
|
||||
if (!hton->discover_table_structure)
|
||||
{
|
||||
my_error(ER_ILLEGAL_HA, MYF(0), hton_name(hton)->str, db, table_name);
|
||||
my_error(ER_TABLE_MUST_HAVE_COLUMNS, MYF(0));
|
||||
goto err;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue