Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.5, 10.3(EOL), 10.4(EOL)
-
None
Description
During DDL, if one partition requires table rebuild and other partition doesn't need rebuild then all partition should be forced to rebuild.
In ha_innobase::commit_inplace_alter_table() assumes that all partition does same operation
/* Apply the changes to the data dictionary tables, for all
|
partitions. */
|
|
for (inplace_alter_handler_ctx** pctx = ctx_array;
|
*pctx && !fail; pctx++) {
|
ha_innobase_inplace_ctx* ctx
|
= static_cast<ha_innobase_inplace_ctx*>(*pctx);
|
|
DBUG_ASSERT(new_clustered == ctx->need_rebuild());
|
|
fail = commit_set_autoinc(ha_alter_info, ctx, altered_table,
|
table);
|
Attachments
Issue Links
- relates to
-
MDEV-22465 DROP COLUMN, DROP INDEX is wrongly claimed to be ALGORITHM=INSTANT
- Closed