mysql-test/suite/galera/r/galera_bf_abort_lock_table.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 | LOCK TABLE t1 WRITE; |
| 7 | connection node_1; |
| 8 | INSERT INTO t1 VALUES (2); |
| 9 | connection node_2; |
| 10 | SET SESSION wsrep_sync_wait = 0; |
| 11 | UNLOCK TABLES; |
| 12 | COMMIT; |
| 13 | SELECT COUNT(*) = 1 FROM t1; |
| 14 | COUNT(*) = 1 |
| 15 | 1 |
| 16 | wsrep_local_aborts_increment |
| 17 | 1 |
| 18 | DROP TABLE t1; |