Correction of receent PR in mroonga for 10.5

Updated ha_mroonga::storage_check_if_supported_inplace_alter to support
new ALTER TABLE flags.

This fixes failing tests:
mroonga/storage.alter_table_add_index_unique_duplicated
mroonga/storage.alter_table_add_index_unique_multiple_column_duplicated
This commit is contained in:
Monty 2023-09-19 14:16:11 +03:00
commit 821d691a20

View file

@ -14623,7 +14623,9 @@ enum_alter_inplace_result ha_mroonga::storage_check_if_supported_inplace_alter(
MRN_ALTER_INPLACE_INFO_ADD_VIRTUAL_COLUMN |
MRN_ALTER_INPLACE_INFO_ADD_STORED_BASE_COLUMN |
ALTER_DROP_COLUMN |
ALTER_INDEX_ORDER |
ALTER_COLUMN_NAME;
;
if (ha_alter_info->handler_flags & explicitly_unsupported_flags) {
DBUG_RETURN(HA_ALTER_INPLACE_NOT_SUPPORTED);
} else if ((ha_alter_info->handler_flags & supported_flags) ==