1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

SQL: prohibit column conversion to system fields for non-empty table [fixes #310]

This commit is contained in:
Eugene Kosov
2017-11-20 18:34:25 +03:00
committed by Aleksey Midenkov
parent 00b98264a8
commit 91ba4f04be
6 changed files with 58 additions and 3 deletions

View File

@ -1745,7 +1745,7 @@ public:
HA_CREATE_INFO *create_info,
const char *table_name);
bool check_and_fix_alter(THD *thd, Alter_info *alter_info,
HA_CREATE_INFO *create_info, TABLE_SHARE *share);
HA_CREATE_INFO *create_info, TABLE *table);
bool fix_create_like(THD *thd, Alter_info *alter_info,
HA_CREATE_INFO *create_info, TABLE_LIST *table);