1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-25738 Assertion `ticket->m_duration == MDL_EXPLICIT' failed

No crash (probably fixed before). Added test case
This commit is contained in:
Monty
2021-05-23 19:41:17 +03:00
parent 15214a4f11
commit 5a20b30fb3
2 changed files with 29 additions and 0 deletions

View File

@ -233,3 +233,19 @@ DROP TABLE t3, t2, t1;
# Wait till we reached the initial number of concurrent sessions
--source include/wait_until_count_sessions.inc
--echo #
--echo # MDEV-25738 Assertion `ticket->m_duration == MDL_EXPLICIT' failed in
--echo # void MDL_context::release_lock(MDL_ticket*)
--echo #
CREATE TABLE t1 (id int(11)) ENGINE=InnoDB;
SET max_statement_time= 0.001;
LOCK TABLES t1 WRITE;
CREATE TRIGGER tr16 AFTER UPDATE ON t1 FOR EACH ROW INSERT INTO t1 VALUES (1);
DROP TABLE t1;
SET max_statement_time= default;
--echo #
--echo # End of 10.5 tests
--echo #