mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-16929 Assertion ... in close_thread_tables upon killing connection
Problem was that the code didn't handle a transaction created in innodb as part of a failed mysql_lock_tables()
This commit is contained in:
12
mysql-test/suite/sql_sequence/kill.result
Normal file
12
mysql-test/suite/sql_sequence/kill.result
Normal file
@ -0,0 +1,12 @@
|
||||
#
|
||||
# MDEV-16929 Assertion ... in close_thread_tables upon killing connection
|
||||
# running SHOW on sequence
|
||||
#
|
||||
CREATE SEQUENCE s ENGINE=InnoDB;
|
||||
RENAME TABLE s TO s1;
|
||||
connect con1,localhost,root,,test;
|
||||
SHOW CREATE SEQUENCE s1;
|
||||
connection default;
|
||||
KILL thread_id;
|
||||
connection default;
|
||||
drop sequence s1;
|
Reference in New Issue
Block a user