From 9e781ed7a66f372ce0d7f8c53547f4269dd2600b Mon Sep 17 00:00:00 2001 From: slzhou Date: Sun, 18 Jun 2023 06:50:53 +0800 Subject: [PATCH] fix: destory data block to fix oom --- 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 15fc164cf1..42c0b88089 100644 --- a/source/libs/executor/src/scanoperator.c +++ b/source/libs/executor/src/scanoperator.c @@ -2728,7 +2728,8 @@ static SSDataBlock* getTableDataBlockImpl(void* param) { pAPI->tsdReader.tsdReaderClose(source->dataReader); source->dataReader = NULL; pInfo->base.dataReader = NULL; - + blockDataDestroy(source->inputBlock); + source->inputBlock = NULL; return NULL; } -- GitLab