mirror of
https://github.com/MariaDB/server.git
synced 2025-02-09 23:24:11 +01:00
![mkaruza](/assets/img/avatar_default.png)
Using ROLLBACK with `completion_type = CHAIN` result in start of transaction and implicit commit before previous WSREP internal data is cleared. Reviewed-by: Jan Lindström <jan.lindstrom@mariadb.com>
14 lines
321 B
Text
14 lines
321 B
Text
#
|
|
# 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;
|