1# See the top of mysql-test/include/rpl_conflicts.test for 2# explanation of what this test does. 3# 4# This test file is for row-logging mode. It runs the test twice, with 5# slave_exec_mode=STRICT and slave_exec_mode=IDEMPOTENT, respectively. 6 7source include/have_binlog_format_row.inc; 8source include/master-slave.inc; 9 10connection slave; 11call mtr.add_suppression("Slave: Can\'t find record in \'t1\' error.* .*"); 12call mtr.add_suppression("Can't find record in 't.'"); 13 14connection slave; 15SET @old_slave_exec_mode= @@global.slave_exec_mode; 16 17 18--echo ######## Run with slave_exec_mode=STRICT ######## 19 20SET @@global.slave_exec_mode = 'STRICT'; 21source include/rpl_conflicts.test; 22 23--source include/rpl_reset.inc 24 25 26--echo ######## Run with slave_exec_mode=IDEMPOTENT ######## 27 28set @@global.slave_exec_mode= 'IDEMPOTENT'; 29source include/rpl_conflicts.test; 30 31 32SET @@global.slave_exec_mode= @old_slave_exec_mode; 33--source include/rpl_end.inc 34