Commit 1d75a6d4 authored by Marko Mäkelä's avatar Marko Mäkelä

instant_alter_column_possible(): Correct a condition

parent 2afb55b2
...@@ -682,12 +682,10 @@ instant_alter_column_possible( ...@@ -682,12 +682,10 @@ instant_alter_column_possible(
return false; return false;
} }
if (ha_alter_info->handler_flags if (!(ha_alter_info->handler_flags
& ~(ALTER_ADD_STORED_BASE_COLUMN & (ALTER_ADD_STORED_BASE_COLUMN
| ALTER_DROP_STORED_COLUMN | ALTER_DROP_STORED_COLUMN
| INNOBASE_ALTER_INSTANT | ALTER_STORED_COLUMN_ORDER))) {
| INNOBASE_INPLACE_IGNORE
| ALTER_STORED_COLUMN_ORDER)) {
return false; return false;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment