summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/galera/t/mdev_9290.test
blob: 39e02011a0977bba2d12a894807d34e8d07b58f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--source include/galera_cluster.inc
--source include/have_innodb.inc

--echo #
--echo # MDEV-9290 : InnoDB: Assertion failure in file trx0sys.cc line 353
--echo # InnoDB: Failing assertion: xid_seqno > trx_sys_cur_xid_seqno
--echo #

--connection node_1
CREATE TABLE t1 (i INT) ENGINE=InnoDB;

--connection node_2
# Note: a multi-statement transaction should always be the "first" one to execute
# on this node.
START TRANSACTION;
INSERT INTO t1 VALUES (1);
INSERT INTO t1 VALUES (2);
COMMIT;

--connection node_1
SELECT * FROM t1;
DROP TABLE t1;

--source include/galera_end.inc