Debian Codegraph @

mysql-test/suite/innodb/include/wait_all_purged.inc

raw
1 # Wait for everything to be purged.
2
3 --disable_query_log
4 if (!$wait_all_purged)
5 {
6 SET GLOBAL innodb_max_purge_lag_wait= 0;
7 }
8 if ($wait_all_purged)
9 {
10 eval SET GLOBAL innodb_max_purge_lag_wait= $wait_all_purged;
11 }
12 --enable_query_log
13
14 --replace_regex /.*History list length ([0-9]+).*/\1/
15 let $remaining= `SHOW ENGINE INNODB STATUS`;
16 echo $remaining transactions not purged;