mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
Followup for Bug #54360 Deadlock DROP/ALTER/CREATE DATABASE
with open HANDLER Fixes a problem with schema.test visible using embedded server. The HANDLER was not closed which caused the test to hang. The problem was not visible if the test was run on a normal server as the the handler there was implicitly closed by DATABASE DDL statements doing Events::drop_schema_events().
This commit is contained in:
parent
3ffa8b3b90
commit
8e154c93ab
2 changed files with 2 additions and 0 deletions
|
|
@ -66,6 +66,7 @@ DROP DATABASE db1;
|
|||
CREATE DATABASE db2;
|
||||
ALTER DATABASE db2 DEFAULT CHARACTER SET utf8;
|
||||
DROP DATABASE db2;
|
||||
HANDLER t1 CLOSE;
|
||||
# Connection default
|
||||
# Reaping: DROP DATABASE db1
|
||||
#
|
||||
|
|
|
|||
|
|
@ -133,6 +133,7 @@ connection con1;
|
|||
CREATE DATABASE db2;
|
||||
ALTER DATABASE db2 DEFAULT CHARACTER SET utf8;
|
||||
DROP DATABASE db2;
|
||||
HANDLER t1 CLOSE;
|
||||
|
||||
--echo # Connection default
|
||||
connection default;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue