fix compilation error
This commit is contained in:
parent
83bdcf8dcd
commit
df1f4cc53f
|
@ -561,7 +561,7 @@ int32_t sumFunction(SqlFunctionCtx* pCtx) {
|
|||
|
||||
// check for overflow
|
||||
if (IS_FLOAT_TYPE(type) && (isinf(pSumRes->dsum) || isnan(pSumRes->dsum))) {
|
||||
numOfElems = 0;
|
||||
numOfElem = 0;
|
||||
}
|
||||
|
||||
_sum_over:
|
||||
|
|
Loading…
Reference in New Issue