Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
5a20b30f
Commit
5a20b30f
authored
May 23, 2021
by
Monty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-25738 Assertion `ticket->m_duration == MDL_EXPLICIT' failed
No crash (probably fixed before). Added test case
parent
15214a4f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
0 deletions
+29
-0
mysql-test/main/trigger-trans.result
mysql-test/main/trigger-trans.result
+13
-0
mysql-test/main/trigger-trans.test
mysql-test/main/trigger-trans.test
+16
-0
No files found.
mysql-test/main/trigger-trans.result
View file @
5a20b30f
...
...
@@ -229,3 +229,16 @@ INSERT INTO t2 (id) VALUES (1);
disconnect con2;
connection default;
DROP TABLE t3, t2, t1;
#
# MDEV-25738 Assertion `ticket->m_duration == MDL_EXPLICIT' failed in
# void MDL_context::release_lock(MDL_ticket*)
#
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;
#
# End of 10.5 tests
#
mysql-test/main/trigger-trans.test
View file @
5a20b30f
...
...
@@ -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
#
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment