提交 585577ce 编写于 作者: G Ganlin Zhao

fix: coverity issues

CID: 399989
上级 23b7150d
......@@ -1872,7 +1872,7 @@ int32_t stddevFunction(SqlFunctionCtx* pCtx) {
numOfElem += 1;
pStddevRes->count += 1;
pStddevRes->usum += plist[i];
pStddevRes->quadraticISum += plist[i] * plist[i];
pStddevRes->quadraticUSum += plist[i] * plist[i];
}
break;
......@@ -1888,7 +1888,7 @@ int32_t stddevFunction(SqlFunctionCtx* pCtx) {
numOfElem += 1;
pStddevRes->count += 1;
pStddevRes->usum += plist[i];
pStddevRes->quadraticISum += plist[i] * plist[i];
pStddevRes->quadraticUSum += plist[i] * plist[i];
}
break;
}
......@@ -1903,7 +1903,7 @@ int32_t stddevFunction(SqlFunctionCtx* pCtx) {
numOfElem += 1;
pStddevRes->count += 1;
pStddevRes->usum += plist[i];
pStddevRes->quadraticISum += plist[i] * plist[i];
pStddevRes->quadraticUSum += plist[i] * plist[i];
}
break;
......@@ -1919,7 +1919,7 @@ int32_t stddevFunction(SqlFunctionCtx* pCtx) {
numOfElem += 1;
pStddevRes->count += 1;
pStddevRes->usum += plist[i];
pStddevRes->quadraticISum += plist[i] * plist[i];
pStddevRes->quadraticUSum += plist[i] * plist[i];
}
break;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册