summaryrefslogtreecommitdiff
path: root/mysql-test/main/locked_temporary-5955.test
blob: 1ade63f49134ea66dd04106c0e748363bbf3b3b7 (plain)
1
2
3
4
5
6
7
8
9
10
#
# MDEV-5955 Server crashes in handler::ha_external_lock or assertion `m_lock_type == 2' fails in handler::ha_close on disconnect with a locked temporary table
#

--source include/have_innodb.inc
--connect (con1,localhost,root,,)
CREATE TEMPORARY TABLE tmp (i INT) ENGINE=InnoDB;
LOCK TABLES tmp AS p WRITE;
--disconnect con1