--source include/have_innodb_plugin.inc
--source include/have_log_bin.inc

--echo #
--echo # Bug#54453: Failing assertion: trx->active_trans when renaming a table with active trx
--echo #

--disable_warnings
DROP TABLE IF EXISTS bug54453;
--enable_warnings

CREATE TABLE bug54453(a INT) ENGINE=InnoDB;
ALTER TABLE bug54453 RENAME TO bug54453_2;
SELECT * FROM bug54453_2;
DROP TABLE bug54453_2;
