[td-255]
This commit is contained in:
parent
bed28fca98
commit
9216a9f201
|
@ -4556,7 +4556,6 @@ static void rate_function(SQLFunctionCtx *pCtx) {
|
||||||
pRateInfo->lastValue = v;
|
pRateInfo->lastValue = v;
|
||||||
} else if (v < pRateInfo->lastValue) {
|
} else if (v < pRateInfo->lastValue) {
|
||||||
pRateInfo->correctionValue += pRateInfo->lastValue;
|
pRateInfo->correctionValue += pRateInfo->lastValue;
|
||||||
qDebug("correctionValue:%" PRId64, pRateInfo->correctionValue);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pRateInfo->lastValue = v;
|
pRateInfo->lastValue = v;
|
||||||
|
|
Loading…
Reference in New Issue