From d021ea2ac3c1739d834e052560628350b2282c59 Mon Sep 17 00:00:00 2001 From: SE park Date: Mon, 31 Aug 2020 15:09:10 +0900 Subject: [PATCH] Revert "[CBRD-23734] Core dumped in cubbase::restrack_assert at src/base/resource_tracker.hpp:456" (#2426) http://jira.cubrid.org/browse/CBRD-23734 Reverts #2423 The vfetch_to variable can be referenced in other reguvars, so it must be cleared at the end of execution of the XASL block. --- src/query/fetch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/query/fetch.c b/src/query/fetch.c index 91549fc764a..6cb5cc2d1a8 100644 --- a/src/query/fetch.c +++ b/src/query/fetch.c @@ -4562,9 +4562,9 @@ fetch_val_list (THREAD_ENTRY * thread_p, regu_variable_list_node * regu_list, va rc = fetch_peek_dbval (thread_p, ®up->value, vd, class_oid, obj_oid, tpl, &tmp); } - pr_clear_value (regup->value.vfetch_to); if (rc != NO_ERROR) { + pr_clear_value (regup->value.vfetch_to); return ER_FAILED; }