--- a/storage/innobase/handler/handler0alter.cc +++ b/storage/innobase/handler/handler0alter.cc @@ -5307,6 +5307,9 @@ ha_innobase::commit_inplace_alter_table( DEBUG_SYNC_C("innodb_commit_inplace_alter_table_wait"); + DBUG_EXECUTE_IF("crash_innodb_before_commit_inplace_alter", + DBUG_SUICIDE();); + if (!commit) { /* A rollback is being requested. So far we may at most have created some indexes. If any indexes were to