Debian Codegraph @

mysql-test/suite/rpl_gtid/r/rpl_xa_prepare.result

raw
1 include/master-slave.inc
2 Warnings:
3 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
4 Note #### Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information.
5 [connection master]
6 CREATE TABLE t1 (c1 INT);
7 CREATE TABLE t2 (c1 INT);
8 include/sync_slave_sql_with_master.inc
9 FLUSH RELAY LOGS;
10 CALL mtr.add_suppression("@@SESSION.GTID_NEXT cannot be set to ANONYMOUS when @@GLOBAL.GTID_MODE = ON");
11 CALL mtr.add_suppression("When @@SESSION.GTID_NEXT is set to a GTID, you must explicitly set it to a different value after a COMMIT or ROLLBACK");
12 CALL mtr.add_suppression("Cannot execute the current event group");
13 CALL mtr.add_suppression("The replica coordinator and worker threads are stopped");
14 include/stop_slave.inc
15 [connection master]
16 XA START 'trx1';
17 INSERT INTO t1 VALUES (1);
18 INSERT INTO t2 VALUES (1);
19 XA END 'trx1';
20 XA PREPARE 'trx1';
21 XA COMMIT 'trx1';
22 [connection slave]
23 include/rpl_receive_event_count.inc
24 include/show_relaylog_events.inc
25 Log_name Pos Event_type Server_id End_log_pos Info
26 slave-relay-bin.000005 # XA_prepare # # XA PREPARE X'74727831',X'',1
27 slave-relay-bin.000005 # Query # # XA COMMIT X'74727831',X'',1
28 [connection master]
29 include/sync_slave_io_with_master.inc
30 include/stop_slave_io.inc
31 CHANGE REPLICATION SOURCE TO RELAY_LOG_FILE='slave-relay-bin.000005', RELAY_LOG_POS=4;
32 START REPLICA SQL_THREAD;
33 include/wait_for_slave_sql_error.inc [errno=1782, 1755]
34 ALTER TABLE t1 engine=MyISAM;
35 START REPLICA SQL_THREAD UNTIL SQL_AFTER_MTS_GAPS;
36 include/wait_for_slave_sql_to_stop.inc
37 CHANGE REPLICATION SOURCE TO RELAY_LOG_FILE='slave-relay-bin.000004', RELAY_LOG_POS=4;
38 START REPLICA SQL_THREAD;
39 include/wait_for_slave_sql_error.inc [errno=1837]
40 ALTER TABLE t1 engine=Innodb;
41 DELETE FROM t1;
42 RESET MASTER;
43 CHANGE REPLICATION SOURCE TO RELAY_LOG_FILE='slave-relay-bin.000004', RELAY_LOG_POS=4;
44 include/start_slave_sql.inc
45 [connection master]
46 include/sync_slave_sql_with_master.inc
47 include/diff_tables.inc [master:t1, slave:t1]
48 include/diff_tables.inc [master:t2, slave:t2]
49 include/stop_slave_sql.inc
50 CHANGE REPLICATION SOURCE TO RELAY_LOG_FILE='slave-relay-bin.000004', RELAY_LOG_POS=4;
51 include/start_slave_sql.inc
52 include/sync_slave_sql_with_io.inc
53 include/diff_tables.inc [master:t1, slave:t1]
54 include/diff_tables.inc [master:t2, slave:t2]
55 include/start_slave_io.inc
56 [connection master]
57 DROP TABLE t1, t2;
58 CALL mtr.add_suppression("Statement is unsafe because it is being used inside a XA transaction");
59 include/rpl_end.inc