From 3f619478f796eddbba6e39502fe941b285dd97b1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 20:00:34 +0200 Subject: Adding upstream version 1:10.11.6. Signed-off-by: Daniel Baumann --- mysql-test/main/innodb_load_xa.test | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 mysql-test/main/innodb_load_xa.test (limited to 'mysql-test/main/innodb_load_xa.test') diff --git a/mysql-test/main/innodb_load_xa.test b/mysql-test/main/innodb_load_xa.test new file mode 100644 index 00000000..65b74120 --- /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 + -- cgit v1.2.3