Debian Codegraph @

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

raw
1 connection node_2;
2 connection node_1;
3 CREATE TABLE t1 (f1 INTEGER PRIMARY KEY, f2 CHAR(6)) ENGINE=InnoDB;
4 connect node_2a, 127.0.0.1, root, , test, $NODE_MYPORT_2;
5 connection node_2;
6 SET AUTOCOMMIT=OFF;
7 START TRANSACTION;
8 INSERT INTO t1 VALUES (1,'node_2');
9 connection node_1;
10 INSERT INTO t1 VALUES (1,'node_1');
11 connection node_2a;
12 connection node_2;
13 INSERT INTO t1 VALUES (2, 'node_2');
14 ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
15 COMMIT;
16 wsrep_local_aborts_increment
17 1
18 DROP TABLE t1;
19 disconnect node_2;
20 disconnect node_1;