From 5d9101b28d1fce88d042d1fca98af8a4d3426b3a Mon Sep 17 00:00:00 2001 From: 54liuyao <54liuyao> Date: Mon, 12 Aug 2024 18:23:45 +0800 Subject: [PATCH] adj res --- source/libs/executor/src/scanoperator.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/libs/executor/src/scanoperator.c b/source/libs/executor/src/scanoperator.c index f291a2bb49..0d4d8a46b4 100644 --- a/source/libs/executor/src/scanoperator.c +++ b/source/libs/executor/src/scanoperator.c @@ -526,12 +526,13 @@ static int32_t createTableCacheVal(const SMetaReader* pMetaReader, STableCachedV memcpy(pVal->pTags, pTag, pTag->len); } + (*ppResVal) = pVal; + _end: if (code != TSDB_CODE_SUCCESS) { qError("%s failed at line %d since %s", __func__, lino, tstrerror(code)); freeTableCachedVal(pVal); } - (*ppResVal) = pVal; return code; }