提交 51a24022 编写于 作者: S shenglian zhou

fix: reset prevValues of SFillInfo so that new group can use it as prev values

上级 abb545ef
...@@ -399,6 +399,8 @@ void taosResetFillInfo(SFillInfo* pFillInfo, TSKEY startTimestamp) { ...@@ -399,6 +399,8 @@ void taosResetFillInfo(SFillInfo* pFillInfo, TSKEY startTimestamp) {
pFillInfo->numOfRows = 0; pFillInfo->numOfRows = 0;
pFillInfo->numOfCurrent = 0; pFillInfo->numOfCurrent = 0;
pFillInfo->numOfTotal = 0; pFillInfo->numOfTotal = 0;
//free prevValues so that the new group has no prevValues then fill(linear) of new group won't use old group values.
tfree(pFillInfo->prevValues);
} }
void* taosDestroyFillInfo(SFillInfo* pFillInfo) { void* taosDestroyFillInfo(SFillInfo* pFillInfo) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册