mariadb/mysql-test/suite/sql_sequence/rename.test
Monty ef3147b1d6 Fix for MDEV-15105 (memory loss with LOCK sequence)
MDEV 15105 "Bytes lost and Assertion `global_status_var.global_memory_used == 0' fails on shutdown after attempts
to LOCK/RENAME sequence"
2018-02-19 11:27:21 +02:00

6 lines
142 B
Text

CREATE SEQUENCE seq1;
--error ER_NO_SUCH_TABLE
RENAME TABLE seq1 TO seq2, seq3 TO seq4;
LOCK TABLE seq1 READ;
UNLOCK TABLES;
drop table seq1;