diff --git a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc index 85af433797c..3bdda875f4e 100644 --- a/storage/innobase/handler/ha_innodb.cc +++ b/storage/innobase/handler/ha_innodb.cc @@ -4262,7 +4262,7 @@ innobase_end(handlerton*, ha_panic_function) } /* Do system tablespace truncation during slow shutdown */ - if (!srv_fast_shutdown + if (!srv_fast_shutdown && !high_level_read_only && srv_operation == SRV_OPERATION_NORMAL) { fsp_system_tablespace_truncate(); }