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

SQL, IB: unversioned fields with ALTER TABLE [fixes #401]

This commit is contained in:
Eugene Kosov
2017-12-15 20:37:36 +03:00
committed by GitHub
parent 4624e565f3
commit 9b55cc73f1
7 changed files with 20 additions and 1 deletions

View File

@ -6562,6 +6562,8 @@ static bool fill_alter_inplace_info(THD *thd,
ha_alter_info->handler_flags|= Alter_inplace_info::ALTER_DROP_CHECK_CONSTRAINT;
if (thd->variables.vers_alter_history == VERS_ALTER_HISTORY_DROP)
ha_alter_info->handler_flags|= Alter_inplace_info::ALTER_DROP_HISTORICAL;
if (alter_info->flags & Alter_info::ALTER_COLUMN_UNVERSIONED)
ha_alter_info->handler_flags|= Alter_inplace_info::ALTER_COLUMN_UNVERSIONED;
/*
If we altering table with old VARCHAR fields we will be automatically