summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/galera/r/mdev_21718.result
blob: ce93861485468338e7601cf426e8fe12e1eb790b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
connection node_2;
connection node_1;
CREATE TABLE t1 (f1 INT PRIMARY KEY) ENGINE=InnoDB;
connection node_1;
START TRANSACTION;
INSERT INTO t1 VALUES (1);
SET DEBUG_SYNC = "wsrep_before_before_command SIGNAL reached WAIT_FOR continue";
COMMIT;
connection node_1_ctrl;
SET DEBUG_SYNC = "now WAIT_FOR reached";
connection node_2;
INSERT INTO t1 VALUES (1);
connection node_1;
ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
DROP TABLE t1;
SET DEBUG_SYNC = "RESET";