config root man

Current Path : /usr/opt/mysql57/mysql-test/suite/binlog/t/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/opt/mysql57/mysql-test/suite/binlog/t/binlog_xa_trx_gtid_response_packet.test

################################################################################
# BUG#20608551 WL#6860 : XA PREPARED TRANSACTION DOESNT RETURN "ALL GTIDS" IN
#              THE OK PACKET
#
# Verify that XA PREPARE statement returns correct gtid set to the OK packet,
# when session_track_gtids=all_gtids or own_gtid
################################################################################
--source include/have_log_bin.inc
# Test is binlog_format-agnostic.
--source include/have_binlog_format_mixed.inc
--source include/have_gtid.inc

# need debug build to be able to set a deterministic server uuid
--source include/have_debug.inc

RESET MASTER;

CREATE TABLE t1 (c1 INT) ENGINE=InnoDB;
--echo

SET SESSION session_track_gtids='all_gtids';
--enable_session_track_info
XA START '1-trx';
INSERT INTO t1 VALUES(1);
XA END '1-trx';
XA PREPARE '1-trx';
XA COMMIT '1-trx';
--disable_session_track_info

--echo
SET SESSION session_track_gtids='own_gtid';
--enable_session_track_info
XA START '2-trx';
INSERT INTO t1 VALUES(1);
XA END '2-trx';
XA PREPARE '2-trx';
XA COMMIT '2-trx';
--disable_session_track_info

DROP TABLE t1;

Man Man