blob: 561953a0578a279f862dcc2e930886bcad987022 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#
# 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;
|