mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
23 lines
446 B
Text
23 lines
446 B
Text
connection node_1;
|
|
SET AUTOCOMMIT=OFF;
|
|
START TRANSACTION;
|
|
COMMIT;
|
|
connection node_2;
|
|
CREATE TABLE sum_table (f1 INTEGER);
|
|
SELECT SUM(f1) = 900 FROM sum_table;
|
|
SUM(f1) = 900
|
|
1
|
|
connection node_1;
|
|
SET AUTOCOMMIT=OFF;
|
|
START TRANSACTION;
|
|
connection node_2;
|
|
SET AUTOCOMMIT=OFF;
|
|
START TRANSACTION;
|
|
UPDATE t900 SET f1 = 3;
|
|
connection node_1;
|
|
COMMIT;
|
|
connection node_2;
|
|
COMMIT;
|
|
ERROR 40001: wsrep aborted transaction
|
|
DROP SCHEMA test;
|
|
CREATE SCHEMA test;
|