There was an error while loading. Please reload this page.
1 parent ddc416c commit 182b8a2Copy full SHA for 182b8a2
sql/sql_base.cc
@@ -751,9 +751,11 @@ void close_thread_tables(THD *thd)
751
table->s->table_name.str, (ulong) table->query_id));
752
if (thd->locked_tables_mode)
753
{
754
+#ifdef WITH_PARTITION_STORAGE_ENGINE
755
if (table->part_info && table->part_info->vers_require_hist_part(thd) &&
756
!thd->stmt_arena->is_stmt_prepare())
757
table->part_info->vers_check_limit(thd);
758
+#endif
759
table->vcol_cleanup_expr(thd);
760
}
761
if (thd->locked_tables_mode <= LTM_LOCK_TABLES ||
0 commit comments