提交 117e1f8b 编写于 作者: H hjxilinx

[TBASE-1396]

上级 e9cc28ed
......@@ -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
}
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册