mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-22928 InnoDB fails to fetch index type when index mismatch happens
InnoDB fails to fetch the index type when innodb dictionary doesn't match with frm. InnoDB should return corrupted if it can't find the index in ha_innobase::index_type().
This commit is contained in:
@ -7537,6 +7537,7 @@ static bool mysql_inplace_alter_table(THD *thd,
|
||||
goto rollback;
|
||||
}
|
||||
|
||||
DEBUG_SYNC(thd, "alter_table_inplace_after_commit");
|
||||
close_all_tables_for_name(thd, table->s,
|
||||
alter_ctx->is_table_renamed() ?
|
||||
HA_EXTRA_PREPARE_FOR_RENAME :
|
||||
|
Reference in New Issue
Block a user