summaryrefslogtreecommitdiff
path: root/mysql-test/t/innodb_load_xa.test
blob: fe466e1f89964b473913703b03c62a61b33c2c8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
# MDEV-6082 Assertion `0' fails in TC_LOG_DUMMY::log_and_order on DML after installing TokuDB at runtime on server with disabled InnoDB
#
--source include/not_embedded.inc

# this test needs exactly one (1) XA-capable engine running initially.
# it's binlog "engine" in 10.0 but wsrep in here, because it cannot be disabled
--source include/have_wsrep.inc

if (!$HA_INNODB_SO) {
  --skip Need InnoDB plugin
}
install plugin innodb soname 'ha_innodb';
select engine,support,transactions,xa from information_schema.engines where engine='innodb';
create table t1 (a int) engine=innodb;
start transaction;
insert t1 values (1);
insert t1 values (2);
commit;
show status like 'Handler_prepare';
drop table t1;
uninstall plugin innodb;