mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge branch '10.3' into 10.4
This commit is contained in:
@ -1882,7 +1882,14 @@ bool open_table(THD *thd, TABLE_LIST *table_list, Open_table_context *ot_ctx)
|
||||
}
|
||||
|
||||
if (is_locked_view(thd, table_list))
|
||||
{
|
||||
if (table_list->sequence)
|
||||
{
|
||||
my_error(ER_NOT_SEQUENCE, MYF(0), table_list->db.str, table_list->alias.str);
|
||||
DBUG_RETURN(true);
|
||||
}
|
||||
DBUG_RETURN(FALSE); // VIEW
|
||||
}
|
||||
|
||||
/*
|
||||
No table in the locked tables list. In case of explicit LOCK TABLES
|
||||
|
Reference in New Issue
Block a user