1#
2# MDEV-6082 Assertion `0' fails in TC_LOG_DUMMY::log_and_order on DML after installing TokuDB at runtime on server with disabled InnoDB
3#
4--source include/not_embedded.inc
5
6# this test needs exactly one (1) XA-capable engine running initially.
7# it's binlog "engine" in 10.0 but wsrep in here, because it cannot be disabled
8--source include/have_wsrep.inc
9
10if (!$HA_INNODB_SO) {
11  --skip Need InnoDB plugin
12}
13install plugin innodb soname 'ha_innodb';
14select engine,support,transactions,xa from information_schema.engines where engine='innodb';
15create table t1 (a int) engine=innodb;
16start transaction;
17insert t1 values (1);
18insert t1 values (2);
19commit;
20show status like 'Handler_prepare';
21drop table t1;
22uninstall plugin innodb;
23
24--source include/restart_mysqld.inc
25
26