[td-255] fix compiler error.

This commit is contained in:
Haojun Liao 2021-06-02 22:19:51 +08:00
parent 35febb1519
commit 60f3f7ed71
1 changed files with 1 additions and 1 deletions

View File

@ -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;