| 1 |
include/master-slave.inc |
| 2 |
[connection master] |
| 3 |
call mtr.add_suppression("Unsafe statement written to the binary log"); |
| 4 |
CREATE TABLE t1 (a int); |
| 5 |
connection slave; |
| 6 |
connection master; |
| 7 |
INSERT INTO t1 VALUES(SLEEP(2)); |
| 8 |
connection slave; |
| 9 |
Seconds_Behind_Master_is_less_than_100 |
| 10 |
1 |
| 11 |
connection master; |
| 12 |
Warnings: |
| 13 |
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 |
| 14 |
drop table t1; |
| 15 |
include/rpl_end.inc |