2
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
5
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
8
SET SESSION BINLOG_FORMAT=ROW;
9
CREATE TABLE t1 (a INT PRIMARY KEY, b INT);
10
INSERT INTO t1 VALUES (1,1), (2,2), (3,3), (4,4);
12
SHOW STATUS LIKE 'Slave_retried_transactions';
14
Slave_retried_transactions 0
15
set @@global.slave_exec_mode= 'IDEMPOTENT';
16
UPDATE t1 SET a = 5, b = 47 WHERE a = 1;
24
UPDATE t1 SET a = 5, b = 5 WHERE a = 1;
32
set @@global.slave_exec_mode= default;
33
SHOW STATUS LIKE 'Slave_retried_transactions';
35
Slave_retried_transactions 0
46
Master_Port MASTER_PORT
48
Master_Log_File master-bin.000001
52
Relay_Master_Log_File master-bin.000001
58
Replicate_Ignore_Table #
59
Replicate_Wild_Do_Table
60
Replicate_Wild_Ignore_Table
75
Seconds_Behind_Master #
76
Master_SSL_Verify_Server_Cert No