From 3cef1e7c42b4b2629445b454649edd24479543c8 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Sat, 20 May 2023 15:45:07 +0800 Subject: [PATCH] fix(stream): add some logs. --- source/libs/stream/src/stream.c | 2 +- source/libs/stream/src/streamExec.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/source/libs/stream/src/stream.c b/source/libs/stream/src/stream.c index 7987490bf5..00ce5aa40e 100644 --- a/source/libs/stream/src/stream.c +++ b/source/libs/stream/src/stream.c @@ -207,7 +207,7 @@ int32_t streamTaskOutputResultBlock(SStreamTask* pTask, SStreamDataBlock* pBlock } else { ASSERT(pTask->outputType == TASK_OUTPUT__FIXED_DISPATCH || pTask->outputType == TASK_OUTPUT__SHUFFLE_DISPATCH); code = taosWriteQitem(pTask->outputQueue->queue, pBlock); - if (code != 0) { + if (code != 0) { // todo failed to add it into the output queue, free it. return code; } diff --git a/source/libs/stream/src/streamExec.c b/source/libs/stream/src/streamExec.c index 077d011900..65643af963 100644 --- a/source/libs/stream/src/streamExec.c +++ b/source/libs/stream/src/streamExec.c @@ -59,8 +59,6 @@ static int32_t doDumpResult(SStreamTask* pTask, SStreamQueueItem* pItem, SArray* *totalSize += size; *totalBlocks += numOfBlocks; - -// destroyStreamDataBlock(pStreamBlocks); } else { taosArrayDestroyEx(pRes, (FDelete)blockDataFreeRes); }