Debian Codegraph @

mysql-test/suite/galera_sr/r/GCF-900.result

raw
1 connection node_2;
2 connection node_1;
3 CREATE TABLE t1 (f1 INT PRIMARY KEY, f2 INT) ENGINE=InnoDB;
4 connection node_1;
5 SET SESSION wsrep_trx_fragment_size = 128;
6 START TRANSACTION;
7 INSERT INTO t1 VALUES (1, 0);
8 connect node_1a, 127.0.0.1, root, , test, $NODE_MYPORT_1;
9 connection node_1a;
10 SET SESSION wsrep_trx_fragment_size = 1;
11 START TRANSACTION;
12 INSERT INTO t1 VALUES (2, 0);
13 connection node_2;
14 ALTER TABLE t1 DROP COLUMN f2;
15 connection node_1;
16 COMMIT;
17 ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
18 connection node_1a;
19 INSERT INTO t1 VALUES (3, 0);
20 ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
21 DROP TABLE t1;