1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00
Files
mariadb/mysql-test/suite/galera/t/MDEV-30804.test
2023-04-19 14:08:57 +02:00

22 lines
456 B
Plaintext

#
# Test that transaction requiring two-phase commit and involving
# storage engines not supporting it rolls back with a message.
#
--source include/galera_cluster.inc
--source include/have_innodb.inc
--source include/have_aria.inc
CREATE TABLE t (a INT) ENGINE=Aria;
CREATE TABLE t1 (a INT) ENGINE=InnoDB;
START TRANSACTION;
INSERT INTO t VALUES ('1');
INSERT INTO t1 VALUES ('1');
--error ER_ERROR_DURING_COMMIT
COMMIT;
DROP TABLE t;
DROP TABLE t1;