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(
return false;
}
if (ha_alter_info->handler_flags
& ~(ALTER_ADD_STORED_BASE_COLUMN
if (!(ha_alter_info->handler_flags
& (ALTER_ADD_STORED_BASE_COLUMN
| ALTER_DROP_STORED_COLUMN
| INNOBASE_ALTER_INSTANT
| INNOBASE_INPLACE_IGNORE
| ALTER_STORED_COLUMN_ORDER)) {
| ALTER_STORED_COLUMN_ORDER))) {
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