diff --git a/storage/innobase/fsp/fsp0fsp.cc b/storage/innobase/fsp/fsp0fsp.cc index 225bc3d2144..fb4a6f342eb 100644 --- a/storage/innobase/fsp/fsp0fsp.cc +++ b/storage/innobase/fsp/fsp0fsp.cc @@ -4373,6 +4373,8 @@ static void resume_alter_encrypt_tablespace(THD *thd) { /* Let the startup thread proceed now */ mysql_cond_signal(&resume_encryption_cond); + DBUG_EXECUTE_IF("sleep_resume_alter_encrypt", sleep(10000);); + /* In following loop : - traverse every tablespace one by one and roll forward (un)encryption operation.