summaryrefslogtreecommitdiff
path: root/mysql-test/suite/rpl/t/rpl_create_xa_prepared.inc
blob: b823ebf62ee9af4178842b3ffd23a51a3234f990 (plain)
1
2
3
4
5
6
7
8
9
# param $xid    to name xa and take part in the connection name
# param $query  to execute as the xa body
# param $db_ign the default database

--connect (master_$xid, 127.0.0.1,root,,$db,$MASTER_MYPORT,)
--eval xa start '$xid'
--eval $query
--eval xa end '$xid'
--eval xa prepare '$xid';