[TBASE-1396]

This commit is contained in:
hjxilinx 2019-12-26 17:55:52 +08:00
parent e9cc28edf0
commit 117e1f8b3d
1 changed files with 2 additions and 4 deletions

View File

@ -3504,7 +3504,6 @@ void spread_func_sec_merge(SQLFunctionCtx *pCtx) {
pCtx->param[3].dKey = pData->max;
}
// pCtx->numOfIteratedElems += 1;
GET_RES_INFO(pCtx)->hasResult = DATA_SET_FLAG;
}
@ -3537,8 +3536,7 @@ void spread_function_finalizer(SQLFunctionCtx *pCtx) {
*(double *)pCtx->aOutputBuf = pInfo->max - pInfo->min;
}
// SET_VAL(pCtx, pCtx->numOfIteratedElems, 1);
resetResultInfo(GET_RES_INFO(pCtx));
GET_RES_INFO(pCtx)->numOfRes = 1; // todo add test case
}
/*