Debian Codegraph @

mysql-test/suite/rpl_gtid/r/rpl_xa_empty_commit_one_phase.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 #
7 # 1) Start with a GTID_NEXT value of 'AUTOMATIC',
8 # start a XA transaction,
9 # and end the transaction with 'XA COMMIT ONE PHASE'.
10 #
11 [connection master]
12 include/save_binlog_position.inc
13 SET @@SESSION.GTID_NEXT= 'AUTOMATIC';
14 XA START 'trx';
15 XA END 'trx';
16 XA COMMIT 'trx' ONE PHASE;
17 include/save_binlog_position.inc
18 include/assert.inc [Empty transaction, binlog position is the same]
19 include/sync_slave_sql_with_master.inc
20 [connection master]
21 #
22 # 2) Start with a GTID_NEXT value set manually,
23 # start a XA transaction,
24 # and end the transaction with 'XA COMMIT ONE PHASE'.
25 #
26 SET @@SESSION.GTID_NEXT= 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa:1';
27 XA START 'trx';
28 XA END 'trx';
29 XA COMMIT 'trx' ONE PHASE;
30 SET @@SESSION.GTID_NEXT= 'AUTOMATIC';
31 include/assert.inc [Transaction is present in GTID_EXECUTED]
32 include/assert_binlog_events.inc [Gtid/SET.* # Query/BEGIN # Query/COMMIT]
33 include/sync_slave_sql_with_master.inc
34 include/rpl_end.inc