| 1 |
connection node_2; |
| 2 |
connection node_1; |
| 3 |
# |
| 4 |
# MDEV-10812: On COM_STMT_CLOSE/COM_QUIT, when wsrep_conflict_state |
| 5 |
# is ABORTED, it causes wrong response to be sent to the client |
| 6 |
# |
| 7 |
connect node_1a, 127.0.0.1, root, , test, $NODE_MYPORT_1; |
| 8 |
SET TRANSACTION ISOLATION LEVEL SERIALIZABLE; |
| 9 |
CREATE TABLE t1(a INT PRIMARY KEY); |
| 10 |
INSERT INTO t1 VALUES(1),(2),(3); |
| 11 |
START TRANSACTION ; |
| 12 |
UPDATE t1 SET a=a+100; |
| 13 |
connection node_2; |
| 14 |
UPDATE t1 SET a=a+100; |
| 15 |
connection node_1a; |
| 16 |
disconnect node_1a; |
| 17 |
connection node_2; |
| 18 |
DROP TABLE t1; |