Debian Codegraph @

mysql-test/suite/rpl/t/rpl_row_conflicts.test

raw
1 # See the top of mysql-test/extra/rpl_tests/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 # replica_exec_mode=STRICT and replica_exec_mode=IDEMPOTENT, respectively.
6 --source include/not_group_replication_plugin.inc
7 source include/have_binlog_format_row.inc;
8 source include/master-slave.inc;
9
10 connection slave;
11 call mtr.add_suppression("Replica: Can\'t find record in \'t1\' Error_code: .*");
12
13 --echo [on slave]
14 connection slave;
15 SET @old_replica_exec_mode= @@global.replica_exec_mode;
16
17
18 --echo ######## Run with replica_exec_mode=STRICT ########
19
20 SET @@global.replica_exec_mode = 'STRICT';
21 source extra/rpl_tests/rpl_conflicts.test;
22
23 --source include/rpl_reset.inc
24
25
26 --echo ######## Run with replica_exec_mode=IDEMPOTENT ########
27
28 set @@global.replica_exec_mode= 'IDEMPOTENT';
29 source extra/rpl_tests/rpl_conflicts.test;
30
31
32 SET @@global.replica_exec_mode= @old_replica_exec_mode;
33 --source include/rpl_end.inc