mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 15:15:34 +02:00
Merge 10.3 into 10.4
This commit is contained in:
commit
b1538f4d60
13 changed files with 295 additions and 93 deletions
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;
|
||||
20
mysql-test/suite/sql_sequence/kill.test
Normal file
20
mysql-test/suite/sql_sequence/kill.test
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
--source include/have_innodb.inc
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-16929 Assertion ... in close_thread_tables upon killing connection
|
||||
--echo # running SHOW on sequence
|
||||
--echo #
|
||||
|
||||
CREATE SEQUENCE s ENGINE=InnoDB;
|
||||
RENAME TABLE s TO s1;
|
||||
--connect (con1,localhost,root,,test)
|
||||
--let $conid= `SELECT CONNECTION_ID()`
|
||||
--send
|
||||
SHOW CREATE SEQUENCE s1;
|
||||
--connection default
|
||||
--replace_result $conid thread_id
|
||||
--eval KILL $conid
|
||||
|
||||
# Cleanup
|
||||
--connection default
|
||||
drop sequence s1;
|
||||
Loading…
Add table
Add a link
Reference in a new issue