mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge branch '10.3' into 10.4
This commit is contained in:
@ -907,7 +907,14 @@ void close_thread_tables(THD *thd)
|
||||
table->s->table_name.str, (ulong) table->query_id));
|
||||
|
||||
if (thd->locked_tables_mode)
|
||||
{
|
||||
#ifdef WITH_PARTITION_STORAGE_ENGINE
|
||||
if (table->part_info && table->part_info->vers_require_hist_part(thd) &&
|
||||
!thd->stmt_arena->is_stmt_prepare())
|
||||
table->part_info->vers_check_limit(thd);
|
||||
#endif
|
||||
table->vcol_cleanup_expr(thd);
|
||||
}
|
||||
|
||||
/* Detach MERGE children after every statement. Even under LOCK TABLES. */
|
||||
if (thd->locked_tables_mode <= LTM_LOCK_TABLES ||
|
||||
|
Reference in New Issue
Block a user