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

@ -8977,7 +8977,7 @@ bool mysql_alter_table(THD *thd, const char *new_db, const char *new_name,
DBUG_RETURN(true);
if (create_info->vers_info.check_and_fix_alter(thd, alter_info, create_info,
table->s))
table))
{
DBUG_RETURN(true);
}