Debian Codegraph @

mysql-test/suite/galera/r/mdev_21718.result

raw
1 connection node_2;
2 connection node_1;
3 CREATE TABLE t1 (f1 INT PRIMARY KEY) ENGINE=InnoDB;
4 connection node_1;
5 START TRANSACTION;
6 INSERT INTO t1 VALUES (1);
7 SET DEBUG_SYNC = "wsrep_before_before_command SIGNAL reached WAIT_FOR continue";
8 COMMIT;
9 connection node_1_ctrl;
10 SET DEBUG_SYNC = "now WAIT_FOR reached";
11 connection node_2;
12 INSERT INTO t1 VALUES (1);
13 connection node_1;
14 ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
15 DROP TABLE t1;
16 SET DEBUG_SYNC = "RESET";