diff --git a/storage/innobase/fsp/fsp0fsp.cc b/storage/innobase/fsp/fsp0fsp.cc index 225bc3d2144..c7d2ff29d66 100644 --- a/storage/innobase/fsp/fsp0fsp.cc +++ b/storage/innobase/fsp/fsp0fsp.cc @@ -4469,6 +4469,8 @@ static void resume_alter_encrypt_tablespace(THD *thd) { space->encryption_op_in_progress = NONE; + DBUG_EXECUTE_IF("crash_during_resume", sleep(4); DBUG_SUICIDE();); + /* In case of crash/recovery, following has to be set explicitly - DD tablespace flags. - DD encryption option value. */