Commit a6c01845 authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-31970 ASAN errors in grn_obj_unlink / ha_mroonga::clear_indexes upon index operations

from upstream
parent 3267606b
......@@ -14660,7 +14660,8 @@ enum_alter_inplace_result ha_mroonga::storage_check_if_supported_inplace_alter(
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) {
} else if ((ha_alter_info->handler_flags & supported_flags) ==
ha_alter_info->handler_flags) {
DBUG_RETURN(HA_ALTER_INPLACE_EXCLUSIVE_LOCK);
} else {
DBUG_RETURN(HA_ALTER_INPLACE_NOT_SUPPORTED);
......
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