summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/maria/kill.test
blob: 98a588a6698a33cbacc873fe8f036922a5553168 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--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;