mariadb/mysql-test/suite/rpl/r/sec_behind_master-5114.result
2017-01-05 20:44:26 +02:00

15 lines
545 B
Text

include/master-slave.inc
[connection master]
call mtr.add_suppression("Unsafe statement written to the binary log");
CREATE TABLE t1 (a int);
connection slave;
connection master;
INSERT INTO t1 VALUES(SLEEP(2));
connection slave;
Seconds_Behind_Master_is_less_than_100
1
connection master;
Warnings:
Note 1592 Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is unsafe because it uses a system function that may return a different value on the slave
drop table t1;
include/rpl_end.inc