summaryrefslogtreecommitdiff
path: root/mysql-test/main/innodb_load_xa.test
diff options
context:
space:
mode:
authorMichael Widenius <monty@mariadb.org>2018-03-09 14:05:35 +0200
committerMonty <monty@mariadb.org>2018-03-29 13:59:44 +0300
commita7abddeffa6a760ce948c2dfb007cdf3f1a369d5 (patch)
tree70eb743fa965a17380bbc0ac88ae79ca1075b896 /mysql-test/main/innodb_load_xa.test
parentab1941266c59a19703a74b5593cf3f508a5752d7 (diff)
downloadmariadb-git-a7abddeffa6a760ce948c2dfb007cdf3f1a369d5.tar.gz
Create 'main' test directory and move 't' and 'r' there
Diffstat (limited to 'mysql-test/main/innodb_load_xa.test')
-rw-r--r--mysql-test/main/innodb_load_xa.test25
1 files changed, 25 insertions, 0 deletions
diff --git a/mysql-test/main/innodb_load_xa.test b/mysql-test/main/innodb_load_xa.test
new file mode 100644
index 00000000000..65b74120e8e
--- /dev/null
+++ b/mysql-test/main/innodb_load_xa.test
@@ -0,0 +1,25 @@
+#
+# 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;
+
+--source include/restart_mysqld.inc
+