From a6ebdf13d188f61c7b814c3f934cd853b01c7472 Mon Sep 17 00:00:00 2001 From: shenglian zhou Date: Sat, 18 Sep 2021 17:03:13 +0800 Subject: [PATCH] fix windows compilation error --- src/query/src/qAggMain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/query/src/qAggMain.c b/src/query/src/qAggMain.c index e4ef74a74d..4dcb88ed3a 100644 --- a/src/query/src/qAggMain.c +++ b/src/query/src/qAggMain.c @@ -4651,7 +4651,7 @@ static void mavg_function(SQLFunctionCtx *pCtx) { ++notNullElems; pCtx->pOutput += pCtx->outputBytes; - pCtx->ptsOutputBuf++; + pTimestamp++; } ++mavgInfo->pos; -- GitLab