MDEV-20077 compilation fix
This commit is contained in:
parent
ddc416c606
commit
182b8a29e7
@ -751,9 +751,11 @@ void close_thread_tables(THD *thd)
|
|||||||
table->s->table_name.str, (ulong) table->query_id));
|
table->s->table_name.str, (ulong) table->query_id));
|
||||||
if (thd->locked_tables_mode)
|
if (thd->locked_tables_mode)
|
||||||
{
|
{
|
||||||
|
#ifdef WITH_PARTITION_STORAGE_ENGINE
|
||||||
if (table->part_info && table->part_info->vers_require_hist_part(thd) &&
|
if (table->part_info && table->part_info->vers_require_hist_part(thd) &&
|
||||||
!thd->stmt_arena->is_stmt_prepare())
|
!thd->stmt_arena->is_stmt_prepare())
|
||||||
table->part_info->vers_check_limit(thd);
|
table->part_info->vers_check_limit(thd);
|
||||||
|
#endif
|
||||||
table->vcol_cleanup_expr(thd);
|
table->vcol_cleanup_expr(thd);
|
||||||
}
|
}
|
||||||
if (thd->locked_tables_mode <= LTM_LOCK_TABLES ||
|
if (thd->locked_tables_mode <= LTM_LOCK_TABLES ||
|
||||||
|
Loading…
x
Reference in New Issue
Block a user