Debian Codegraph @

mysql-test/suite/binlog/r/binlog_group_commit_sync_delay.result

raw
1 SET GLOBAL binlog_group_commit_sync_delay=1000000;
2 SET GLOBAL sync_binlog = 1;
3 SET @clock_in = SYSDATE();
4 CREATE TABLE t1 (c1 INT) Engine=InnoDB;
5 SET @elapsed = TIMESTAMPDIFF(MICROSECOND, @clock_in, SYSDATE());
6 include/assert.inc ["Assert that the statement never takes less than the delay set."]
7 SET GLOBAL sync_binlog=1000;
8 SET @clock_in = SYSDATE();
9 SET @elapsed = TIMESTAMPDIFF(MICROSECOND, @clock_in, SYSDATE());
10 include/assert.inc ["Assert that the above statements should not take more than 1000 seconds"]
11 SET GLOBAL binlog_group_commit_sync_delay=0;
12 SET GLOBAL sync_binlog=1;
13 DROP TABLE t1;