Debian Codegraph @

mysql-test/suite/rpl_nogtid/r/rpl_xa_survive_disconnect_mixed_engines.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 [connection master]
7 CALL mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT");
8 SET @@session.binlog_direct_non_transactional_updates := if(floor(rand()*10)%2,'ON','OFF');
9 CREATE TABLE t (a INT) ENGINE=innodb;
10 CREATE TABLE tm (a INT) ENGINE=myisam;
11 === COMMIT ===
12 XA START 'xa_trx';
13 INSERT INTO tm VALUES (1);
14 INSERT INTO t VALUES (1);
15 XA END 'xa_trx';
16 XA PREPARE 'xa_trx';
17 XA COMMIT 'xa_trx' ;
18 XA START 'xa_trx';
19 INSERT INTO t VALUES (2);
20 INSERT INTO tm VALUES (2);
21 XA END 'xa_trx';
22 XA PREPARE 'xa_trx';
23 XA COMMIT 'xa_trx' ;
24 XA START 'xa_trx';
25 INSERT INTO tm VALUES (3);
26 XA END 'xa_trx';
27 XA PREPARE 'xa_trx';
28 XA COMMIT 'xa_trx' ;
29 include/sync_slave_sql_with_master.inc
30 [connection master]
31 === COMMIT ONE PHASE ===
32 XA START 'xa_trx';
33 INSERT INTO tm VALUES (1);
34 INSERT INTO t VALUES (1);
35 XA END 'xa_trx';
36 XA COMMIT 'xa_trx' ONE PHASE;
37 XA START 'xa_trx';
38 INSERT INTO t VALUES (2);
39 INSERT INTO tm VALUES (2);
40 XA END 'xa_trx';
41 XA COMMIT 'xa_trx' ONE PHASE;
42 XA START 'xa_trx';
43 INSERT INTO tm VALUES (3);
44 XA END 'xa_trx';
45 XA COMMIT 'xa_trx' ONE PHASE;
46 include/sync_slave_sql_with_master.inc
47 [connection master]
48 === ROLLBACK with PREPARE ===
49 XA START 'xa_trx';
50 INSERT INTO tm VALUES (1);
51 INSERT INTO t VALUES (1);
52 XA END 'xa_trx';
53 XA PREPARE 'xa_trx';
54 xa rollback 'xa_trx' ;
55 Warnings:
56 Warning 1196 Some non-transactional changed tables couldn't be rolled back
57 XA START 'xa_trx';
58 INSERT INTO t VALUES (2);
59 INSERT INTO tm VALUES (2);
60 XA END 'xa_trx';
61 XA PREPARE 'xa_trx';
62 xa rollback 'xa_trx' ;
63 Warnings:
64 Warning 1196 Some non-transactional changed tables couldn't be rolled back
65 XA START 'xa_trx';
66 INSERT INTO tm VALUES (3);
67 XA END 'xa_trx';
68 XA PREPARE 'xa_trx';
69 xa rollback 'xa_trx' ;
70 Warnings:
71 Warning 1196 Some non-transactional changed tables couldn't be rolled back
72 include/sync_slave_sql_with_master.inc
73 [connection master]
74 === ROLLBACK with no PREPARE ===
75 XA START 'xa_trx';
76 INSERT INTO tm VALUES (1);
77 INSERT INTO t VALUES (1);
78 XA END 'xa_trx';
79 xa rollback 'xa_trx' ;
80 Warnings:
81 Warning 1196 Some non-transactional changed tables couldn't be rolled back
82 XA START 'xa_trx';
83 INSERT INTO t VALUES (2);
84 INSERT INTO tm VALUES (2);
85 XA END 'xa_trx';
86 xa rollback 'xa_trx' ;
87 Warnings:
88 Warning 1196 Some non-transactional changed tables couldn't be rolled back
89 XA START 'xa_trx';
90 INSERT INTO tm VALUES (3);
91 XA END 'xa_trx';
92 xa rollback 'xa_trx' ;
93 Warnings:
94 Warning 1196 Some non-transactional changed tables couldn't be rolled back
95 include/sync_slave_sql_with_master.inc
96 include/diff_tables.inc [master:tm, slave:tm]
97 [connection master]
98 DROP TABLE t, tm;
99 include/sync_slave_sql_with_master.inc
100 include/rpl_end.inc