mirror of
https://github.com/MariaDB/server.git
synced 2025-07-02 14:22:51 +03:00
MDEV-19273: Server crash in MDL_ticket::has_stronger_or_equal_type or Assertion `thd->mdl_context.is_lock_owner(MDL_key::TABLE, table->db.str, table->table_name.str, MDL_SHARED)' failed in mysql_rm_table_no_locks
Early report error in case of DROP SEQUENCE <non-sequence> Do not use error variable for other purposes except error.
This commit is contained in:
@ -489,7 +489,7 @@ drop table s;
|
||||
create temporary sequence s;
|
||||
drop temporary table s;
|
||||
create temporary table s (i int);
|
||||
--error ER_UNKNOWN_SEQUENCES
|
||||
--error ER_NOT_SEQUENCE2
|
||||
drop temporary sequence s;
|
||||
drop table s;
|
||||
|
||||
|
Reference in New Issue
Block a user