config root man

Current Path : /home/usr.opt/mysql57/mysql-test/extra/binlog_tests/

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 : //home/usr.opt/mysql57/mysql-test/extra/binlog_tests/binlog_xa_prepare_connection.inc

#
# This file initiate connections to run XA transactions up to
# their prepare.
# Connection name, transaction name and its content depends on
# supplied parameters.
#
# param $type        type of transaction
# param $index       index identifies the connection with those of type $type
# param $sql_init1   a query to execute once connection is established
# param $sql_init2   a query to execute once connection is established
# param $sql_doit    a query to execute inside transaction
#                    Note, the query may depend on tables created by caller
#

--connect (conn$index$type, 127.0.0.1,root,,test,$MASTER_MYPORT,)
if ($sql_init1)
{
  --eval $sql_init1
}
if ($sql_init2)
{
  --eval $sql_init2
}

--eval XA START   'trx$index$type'
if ($sql_doit)
{
  --disable_result_log
  --eval $sql_doit
  --enable_result_log
}
--eval XA END     'trx$index$type'
--eval XA PREPARE 'trx$index$type'

Man Man