From 60f3f7ed7106205492cc328f8cb040587a492ca6 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Wed, 2 Jun 2021 22:19:51 +0800 Subject: [PATCH] [td-255] fix compiler 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 370e9e2b79..c598679a91 100644 --- a/src/query/src/qAggMain.c +++ b/src/query/src/qAggMain.c @@ -4701,7 +4701,7 @@ static void irate_function_f(SQLFunctionCtx *pCtx, int32_t index) { SRateInfo *pRateInfo = (SRateInfo *)GET_ROWCELL_INTERBUF(pResInfo); TSKEY *primaryKey = GET_TS_LIST(pCtx); - int64_t v = 0; + double v = 0; GET_TYPED_DATA(v, double, pCtx->inputType, pData); pRateInfo->firstKey = pRateInfo->lastKey; -- GitLab