mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 09:14:17 +01:00
17 lines
385 B
Text
17 lines
385 B
Text
|
--source include/have_debug.inc
|
||
|
|
||
|
--echo #
|
||
|
--echo # MDEV-20471 Assertion during cleanup of failed CREATE TABLE LIKE <sequence>
|
||
|
--echo #
|
||
|
|
||
|
CREATE SEQUENCE s;
|
||
|
set @save_debug_dbug=@@debug_dbug;
|
||
|
set debug_dbug='+d,kill_query_on_sequence_insert';
|
||
|
--error ER_QUERY_INTERRUPTED
|
||
|
CREATE TABLE t LIKE s;
|
||
|
--error ER_BAD_TABLE_ERROR
|
||
|
DROP TABLE t;
|
||
|
|
||
|
DROP SEQUENCE s;
|
||
|
set debug_dbug=@save_debug_dbug;
|