mirror of
https://github.com/MariaDB/server.git
synced 2025-09-13 13:47:59 +03:00
15 lines
372 B
Plaintext
15 lines
372 B
Plaintext
connection node_2;
|
|
connection node_1;
|
|
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
|
|
connection node_2;
|
|
SET AUTOCOMMIT=OFF;
|
|
INSERT INTO t1 VALUES (1);
|
|
SELECT SLEEP(1000);;
|
|
connection node_1;
|
|
INSERT INTO t1 VALUES (1);
|
|
connection node_2;
|
|
ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
|
|
wsrep_local_aborts_increment
|
|
1
|
|
DROP TABLE t1;
|