summaryrefslogtreecommitdiff
path: root/mysql-test/suite/wsrep/r/wsrep-recover-v25.result
blob: 6d146f67bdf161243a6145f7404be6eb9cb1637f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Kill the server
Expect seqno 0
0
CREATE TABLE t1 (f1 INT PRIMARY KEY) ENGINE=InnoDB;
# Kill the server
Expect seqno 1
1
INSERT INTO t1 VALUES (5);
# Kill the server
Expect seqno 2
2
SELECT VARIABLE_VALUE `expect 2` FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_last_committed';
expect 2
2
connect con1, localhost, root;
SET DEBUG_SYNC = "ha_commit_trans_after_prepare SIGNAL after_prepare_reached WAIT_FOR continue";
INSERT INTO t1 VALUES (7);
connection default;
SET DEBUG_SYNC = "now WAIT_FOR after_prepare_reached";
# Kill the server
Expect seqno 3
3
Expect 5 7
SELECT * FROM t1;
f1
5
7
DROP TABLE t1;