summaryrefslogtreecommitdiff
path: root/mysql-test/suite/galera/t/MDEV-25740.test
blob: 0ea8d5f55c0193a2bda3b3120d186b182eecf6d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#
# When `completion_type = CHAIN` is used, transaction started should not have previous writeset.
#

--source include/galera_cluster.inc
--source include/have_innodb.inc

SET AUTOCOMMIT = OFF;
SET completion_type = CHAIN;
CREATE TABLE t1(f1 INT) ENGINE=InnoDB;
BEGIN;
INSERT INTO t1 VALUES (1);
ROLLBACK;
DROP TABLE t1;