Current Path : /home/usr.opt/mysql57/mysql-test/suite/binlog/r/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : /home/usr.opt/mysql57/mysql-test/suite/binlog/r/binlog_group_commit_sync_delay.result |
SET GLOBAL binlog_group_commit_sync_delay=1000000; SET GLOBAL sync_binlog = 1; SET @clock_in = SYSDATE(); CREATE TABLE t1 (c1 INT) Engine=InnoDB; SET @elapsed = TIMESTAMPDIFF(MICROSECOND, @clock_in, SYSDATE()); include/assert.inc ["Assert that the statement never takes less than the delay set."] SET GLOBAL sync_binlog=1000; SET @clock_in = SYSDATE(); SET @elapsed = TIMESTAMPDIFF(MICROSECOND, @clock_in, SYSDATE()); include/assert.inc ["Assert that the above statements should not take more than 1000 seconds"] SET GLOBAL binlog_group_commit_sync_delay=0; SET GLOBAL sync_binlog=1; DROP TABLE t1;