mariadb/mysql-test/suite/maria/kill.test

14 lines
372 B
Text

--echo #
--echo # MDEV-14996
--echo # Assertion `!thd->get_stmt_da()->is_sent() ||
--echo # thd->killed == KILL_CONNECTION' failed in ha_maria::external_lock
--echo #
CREATE TABLE t1 (a INT) ENGINE=Aria;
--connect (con1,localhost,root,,)
FLUSH TABLE t1 FOR EXPORT;
--error ER_CONNECTION_KILLED
KILL CONNECTION_ID();
--disconnect con1
--connection default
DROP TABLE t1;