mirror of
https://github.com/MariaDB/server.git
synced 2025-01-26 00:34:18 +01:00
15 lines
545 B
Text
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
|