Debian Codegraph @

mysql-test/suite/innodb/t/log_ddl_must_flush.test

raw
1 --source include/have_debug.inc
2
3 SET DEBUG_SYNC='trx_flush_log_if_needed SIGNAL hit';
4
5 # Verify the trx_on_log monitors
6 SET GLOBAL innodb_monitor_enable = "trx_on_log%";
7 # Reset the monitors so that test can run in parallel conistently
8 SET GLOBAL innodb_monitor_reset="trx_on_log_%";
9 # Must be 0
10 SELECT SUM(count_reset) FROM information_schema.innodb_metrics
11 WHERE name IN ("trx_on_log_no_waits", "trx_on_log_waits");
12
13 CREATE PROCEDURE t () BEGIN END;
14
15 SELECT SUM(count_reset) FROM information_schema.innodb_metrics
16 WHERE name IN ("trx_on_log_no_waits", "trx_on_log_waits");
17 --source include/innodb_monitor_restore.inc
18
19 SET DEBUG_SYNC='now WAIT_FOR hit';
20
21 DROP PROCEDURE t;