Debian Codegraph @

mysql-test/suite/galera/r/mdev-30653.result

raw
1 connection node_2;
2 connection node_1;
3 create table t1 (id serial, val int) engine=innodb;
4 create table t2 (id serial, val int) engine=aria;
5 insert into t1 values(1, 23);
6 insert into t2 values(2, 42);
7 call mtr.add_suppression("WSREP: Replication of non-transactional engines is experimental\\. Storage engine Aria for table 'test'\\.'t2' is not supported in Galera");
8 begin;
9 update t1 set val=24 where id=1;
10 update t2 set val=41 where id=2;
11 commit;
12 ERROR HY000: Transactional commit not supported by involved engine(s)
13 select * from t1;
14 id val
15 1 23
16 select * from t2;
17 id val
18 2 41
19 connection node_2;
20 select * from t1;
21 id val
22 1 23
23 select * from t2;
24 id val
25 connection node_1;
26 drop table t1, t2;
27 SET GLOBAL wsrep_mode=REPLICATE_ARIA;
28 create table t1 (id serial, val int) engine=innodb;
29 create table t2 (id serial, val int) engine=aria;
30 insert into t1 values(1, 23);
31 insert into t2 values(2, 42);
32 begin;
33 update t1 set val=24 where id=1;
34 update t2 set val=41 where id=2;
35 ERROR HY000: Transactional commit not supported by involved engine(s)
36 commit;
37 select * from t1;
38 id val
39 1 24
40 select * from t2;
41 id val
42 2 42
43 connection node_2;
44 select * from t1;
45 id val
46 1 24
47 select * from t2;
48 id val
49 2 42
50 connection node_1;
51 drop table t1, t2;
52 create table t2 (id serial, val int) engine=aria;
53 INSERT INTO t2 values(1,1);
54 UPDATE t2 set id=5,val=6 where id = 1;
55 SELECT * from t2;
56 id val
57 5 6
58 connection node_2;
59 SELECT * from t2;
60 id val
61 5 6
62 DROP TABLE t2;
63 connection node_1;
64 SET GLOBAL wsrep_mode=DEFAULT;