From afa6cdc32d61c78ceedf2ea7673a406d5d5d5994 Mon Sep 17 00:00:00 2001 From: shenglian zhou Date: Tue, 12 Oct 2021 14:01:06 +0800 Subject: [PATCH] :fix an silly error --- src/client/src/tscGlobalmerge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/tscGlobalmerge.c b/src/client/src/tscGlobalmerge.c index b1223e0e4e..4a93f8ebe3 100644 --- a/src/client/src/tscGlobalmerge.c +++ b/src/client/src/tscGlobalmerge.c @@ -906,7 +906,7 @@ SSDataBlock* doGlobalAggregate(void* param, bool* newgroup) { clearOutputBuf(&pAggInfo->binfo, &pAggInfo->bufCapacity); continue; } - if (!TSDB_FUNC_SCALAR_INDEX(pCtx->functionId)) { + if (!TSDB_FUNC_IS_SCALAR(pCtx->functionId)) { aAggs[pCtx->functionId].init(pCtx, pCtx->resultInfo); } else { assert(0); -- GitLab