From 00c1a59abbb0fb05e3bf1ddee49ff87c1a515b2c Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Sun, 4 Apr 2021 11:18:28 +0800 Subject: [PATCH] [td-3662] --- src/client/src/tscLocalMerge.c | 2 -- tests/script/general/parser/select_with_tags.sim | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/client/src/tscLocalMerge.c b/src/client/src/tscLocalMerge.c index 704254b0cb..c28302895e 100644 --- a/src/client/src/tscLocalMerge.c +++ b/src/client/src/tscLocalMerge.c @@ -351,7 +351,6 @@ void tscCreateLocalMerger(tExtMemBuffer **pMemBuffer, int32_t numOfBuffer, tOrde } assert(finalmodel->rowSize > 0 && finalmodel->rowSize <= pReducer->rowSize); - printf("------xxxx:%d\n", pReducer->rowSize * pReducer->resColModel->capacity); pReducer->pFinalRes = calloc(1, pReducer->rowSize * pReducer->resColModel->capacity); @@ -944,7 +943,6 @@ static void genFinalResWithoutFill(SSqlRes* pRes, SLocalMerger *pLocalMerge, SQu savePrevRecordAndSetupFillInfo(pLocalMerge, pQueryInfo, pLocalMerge->pFillInfo); } - printf("size: %d\n", pRes->numOfRows * pLocalMerge->finalModel->rowSize); memcpy(pRes->data, pBeforeFillData->data, (size_t)(pRes->numOfRows * pLocalMerge->finalModel->rowSize)); pRes->numOfClauseTotal += pRes->numOfRows; diff --git a/tests/script/general/parser/select_with_tags.sim b/tests/script/general/parser/select_with_tags.sim index ab6a0272bc..6d22332fb2 100644 --- a/tests/script/general/parser/select_with_tags.sim +++ b/tests/script/general/parser/select_with_tags.sim @@ -160,7 +160,7 @@ if $data03 != @abc15@ then endi #sql select top(c6, 3) from select_tags_mt0 interval(10a) - +#sql select top(c6, 3) from select_tags_mt0 interval(10a) group by tbname; sql select top(c1, 100), tbname, t1, t2 from select_tags_mt0; if $rows != 100 then -- GitLab