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
@ -43,3 +43,5 @@ innodb_stats_drop_locked
|
|||||||
innodb_stats_drop_locked
|
innodb_stats_drop_locked
|
||||||
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
|
SELECT table_name FROM mysql.innodb_index_stats
|
||||||
WHERE table_name='innodb_stats_drop_locked';
|
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
|
--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");
|
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
|
--enable_query_log
|
||||||
|
Loading…
x
Reference in New Issue
Block a user