Debian Codegraph @

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

raw
1 connection node_2;
2 connection node_1;
3 CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
4 connection node_2;
5 SET AUTOCOMMIT=OFF;
6 INSERT INTO t1 VALUES (1);
7 SELECT SLEEP(1000);;
8 connection node_1;
9 INSERT INTO t1 VALUES (1);
10 connection node_2;
11 ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
12 wsrep_local_aborts_increment
13 1
14 DROP TABLE t1;