call mtr.add_suppression("InnoDB: Cannot save (table|index) statistics for table `test`\\.`t1`.*: Persistent statistics do not exist"); CREATE TABLE t1 (a INT, KEY(a)) ENGINE=INNODB STATS_PERSISTENT=1; SET @save_debug= @@SESSION.debug_dbug; SET debug_dbug= '+d,stats_index_error'; ANALYZE TABLE t1; Table Op Msg_type Msg_text test.t1 analyze status Operation failed SET debug_dbug= @save_debug; ANALYZE TABLE t1; Table Op Msg_type Msg_text test.t1 analyze status OK DROP TABLE t1;