From 6ef139780d7a6ae6ea001523b4505de6b5c3a7bc Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Tue, 29 Jul 2014 09:09:52 +0200 Subject: MDEV-6497 InnoDB deadlocks on UNINSTALL PLUGIN Free the trx of the current thd (if any) in innobase_end() --- mysql-test/t/innodb_load_xa.test | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'mysql-test/t') diff --git a/mysql-test/t/innodb_load_xa.test b/mysql-test/t/innodb_load_xa.test index ab2204133a2..52862151b22 100644 --- a/mysql-test/t/innodb_load_xa.test +++ b/mysql-test/t/innodb_load_xa.test @@ -8,4 +8,11 @@ if (!$HA_INNODB_SO) { } 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; +--source include/show_binlog_events.inc +drop table t1; uninstall plugin innodb; -- cgit v1.2.1