mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-14762 Server crashes in MDL_ticket::has_stronger_or_equal_type upon inserting into temporary sequence
Fix is to not upgrade MDL locks for temporary tables
This commit is contained in:
@ -14,3 +14,12 @@ alter table s1 engine myisam;
|
||||
select nextval(s1);
|
||||
select * from s1;
|
||||
drop temporary sequence s1;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-14762 Server crashes in MDL_ticket::has_stronger_or_equal_type
|
||||
--echo # upon inserting into temporary sequence
|
||||
--echo #
|
||||
|
||||
CREATE TEMPORARY SEQUENCE s1 ENGINE=InnoDB;
|
||||
INSERT INTO s1 VALUES (1, 1, 1000, 1, 1, 1, 1, 0);
|
||||
DROP TEMPORARY SEQUENCE s1;
|
||||
|
Reference in New Issue
Block a user