From b3f840173785f750b9f5cddc6eb8195f4e1df324 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Wed, 28 Apr 2021 10:28:44 +0800 Subject: [PATCH] [td-225]remove the unused code. --- src/query/src/qAggMain.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/query/src/qAggMain.c b/src/query/src/qAggMain.c index 11a96f7ef3..3b1ffa46d9 100644 --- a/src/query/src/qAggMain.c +++ b/src/query/src/qAggMain.c @@ -3051,10 +3051,6 @@ static void apercentile_finalizer(SQLFunctionCtx *pCtx) { SResultRowCellInfo * pResInfo = GET_RES_INFO(pCtx); SAPercentileInfo *pOutput = GET_ROWCELL_INTERBUF(pResInfo); - if (pOutput->pHisto->numOfElems > 1000) { - printf("%d\n", pOutput->pHisto->numOfElems); - } - if (pCtx->currentStage == MERGE_STAGE) { if (pResInfo->hasResult == DATA_SET_FLAG) { // check for null assert(pOutput->pHisto->numOfElems > 0); -- GitLab