mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Added test case for MDEV-13029
MDEV 13029 Assertion `ds_control' failed in debug_sync upon closing connection after creating temporary sequence This test doesn't fail anymore. Adding it to ensure that the bug doesn't appear again.
This commit is contained in:
parent
bd09c5ca86
commit
a536664e80
3 changed files with 23 additions and 0 deletions
1
mysql-test/suite/sql_sequence/debug_sync.opt
Normal file
1
mysql-test/suite/sql_sequence/debug_sync.opt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
--debug-sync-timeout=2
|
7
mysql-test/suite/sql_sequence/debug_sync.result
Normal file
7
mysql-test/suite/sql_sequence/debug_sync.result
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
connect con1,localhost,root,,;
|
||||||
|
CREATE TEMPORARY SEQUENCE f ENGINE=InnoDB;
|
||||||
|
disconnect con1;
|
||||||
|
connection default;
|
||||||
|
SELECT 'Still alive' AS `Heartbeat`;
|
||||||
|
Heartbeat
|
||||||
|
Still alive
|
15
mysql-test/suite/sql_sequence/debug_sync.test
Normal file
15
mysql-test/suite/sql_sequence/debug_sync.test
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
--source include/have_innodb.inc
|
||||||
|
--source include/have_debug_sync.inc
|
||||||
|
|
||||||
|
#
|
||||||
|
# MDEV-13029
|
||||||
|
# Assertion `ds_control' failed in debug_sync upon closing connection after
|
||||||
|
# creating temporary sequence
|
||||||
|
|
||||||
|
--connect (con1,localhost,root,,)
|
||||||
|
CREATE TEMPORARY SEQUENCE f ENGINE=InnoDB;
|
||||||
|
--disconnect con1
|
||||||
|
--connection default
|
||||||
|
--sleep 3
|
||||||
|
|
||||||
|
SELECT 'Still alive' AS `Heartbeat`;
|
Loading…
Reference in a new issue