提交 acd8b5df 编写于 作者: L lihui

[#909]

上级 9149d091
......@@ -3834,12 +3834,12 @@ static void getStatics_f(int64_t *primaryKey, float *data, int32_t numOfRow, dou
dsum += fv;
if (fmin > fv) {
fmin = fv;
minIndex = i;
*minIndex = i;
}
if (fmax < fv) {
fmax = fv;
maxIndex = i;
*maxIndex = i;
}
// if (isNull(&lastVal, TSDB_DATA_TYPE_FLOAT)) {
......@@ -3887,12 +3887,12 @@ static void getStatics_d(int64_t *primaryKey, double *data, int32_t numOfRow, do
dsum += dv;
if (dmin > dv) {
dmin = dv;
minIndex = i;
*minIndex = i;
}
if (dmax < dv) {
dmax = dv;
maxIndex = i;
*maxIndex = i;
}
// if (isNull(&lastVal, TSDB_DATA_TYPE_DOUBLE)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册