mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
44002a34e6
first unlock locked tables, then close and remove temporary
10 lines
328 B
Text
10 lines
328 B
Text
#
|
|
# 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
|
|
|