mySQL 5.0.11 sources for tomato
[tomato.git] / release / src / router / mysql / mysql-test / suite / rpl / t / rpl_row_conflicts.test
blobce5332966ef68be088caa29ef076c567ec612dbb
1 # See the top of mysql-test/extra/rpl_tests/rpl_conflicts.test for
2 # explanation of what this test does.
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.
7 source include/have_binlog_format_row.inc;
8 source include/master-slave.inc;
10 connection slave;
11 call mtr.add_suppression("Slave: Can\'t find record in \'t1\' Error_code: .*");
13 --echo [on slave]
14 connection slave;
15 SET @old_slave_exec_mode= @@global.slave_exec_mode;
18 --echo ######## Run with slave_exec_mode=STRICT ########
20 SET @@global.slave_exec_mode = 'STRICT';
21 source extra/rpl_tests/rpl_conflicts.test;
23 --source include/rpl_reset.inc
26 --echo ######## Run with slave_exec_mode=IDEMPOTENT ########
28 set @@global.slave_exec_mode= 'IDEMPOTENT';
29 source extra/rpl_tests/rpl_conflicts.test;
32 SET @@global.slave_exec_mode= @old_slave_exec_mode;
33 --source include/rpl_end.inc