mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
mtr: innodb_stats_dropped_locked cleanup
As discovered in later test, this test doesn't remove the innodb_{index,table}_stats entries generated in the test upon completion.
This commit is contained in:
parent
7a1923c369
commit
904b811636
2 changed files with 4 additions and 0 deletions
|
@ -43,3 +43,5 @@ innodb_stats_drop_locked
|
|||
innodb_stats_drop_locked
|
||||
innodb_stats_drop_locked
|
||||
innodb_stats_drop_locked
|
||||
DELETE FROM mysql.innodb_index_stats WHERE database_name='test' AND table_name='innodb_stats_drop_locked';
|
||||
DELETE FROM mysql.innodb_table_stats WHERE database_name='test' AND table_name='innodb_stats_drop_locked';
|
||||
|
|
|
@ -56,6 +56,8 @@ WHERE table_name='innodb_stats_drop_locked';
|
|||
SELECT table_name FROM mysql.innodb_index_stats
|
||||
WHERE table_name='innodb_stats_drop_locked';
|
||||
|
||||
DELETE FROM mysql.innodb_index_stats WHERE database_name='test' AND table_name='innodb_stats_drop_locked';
|
||||
DELETE FROM mysql.innodb_table_stats WHERE database_name='test' AND table_name='innodb_stats_drop_locked';
|
||||
--disable_query_log
|
||||
call mtr.add_suppression("Unable to delete statistics for table test.innodb_stats_drop_locked: Lock wait timeout. They can be deleted later using DELETE FROM mysql.innodb_index_stats WHERE database_name");
|
||||
--enable_query_log
|
||||
|
|
Loading…
Reference in a new issue