From 3828954f1507097e4bfcd31f04486cc9abbeb0b7 Mon Sep 17 00:00:00 2001 From: shenglian zhou Date: Thu, 21 Jul 2022 09:43:06 +0800 Subject: [PATCH] fix: clean up block data to use it again as result data block in doApplyIndefinitFunction --- source/libs/executor/src/executorimpl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/libs/executor/src/executorimpl.c b/source/libs/executor/src/executorimpl.c index 3034911872..8058d6ee96 100644 --- a/source/libs/executor/src/executorimpl.c +++ b/source/libs/executor/src/executorimpl.c @@ -3959,6 +3959,8 @@ static SSDataBlock* doApplyIndefinitFunction(SOperatorInfo* pOperator) { size_t rows = pInfo->pRes->info.rows; if (rows > 0 || pOperator->status == OP_EXEC_DONE) { break; + } else { + blockDataCleanup(pInfo->pRes); } } -- GitLab