4
-- source include/have_innodb.inc
6
drop table if exists t1, t2;
8
create table t1 (a int) engine=innodb;
10
insert t1 values (10);
19
insert t1 values (20);
27
xa start 'testa','testb';
28
insert t1 values (30);
33
xa end 'testa','testb';
38
create table t2 (a int);
40
connect (con1,localhost,root,,);
44
xa start 'testa','testb';
46
xa start 'testa','testb', 123;
48
# gtrid [ , bqual [ , formatID ] ]
49
xa start 0x7465737462, 0x2030405060, 0xb;
50
insert t1 values (40);
51
xa end 'testb',' 0@P`',11;
52
xa prepare 'testb',0x2030405060,11;
59
# uncomment the line below when binlog will be able to prepare
63
xa prepare 'testa','testb';
68
xa commit 'testb',0x2030405060,11;
69
xa rollback 'testa','testb';
72
xa start 'zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz';