fic comp issue
This commit is contained in:
parent
158eda13f9
commit
e9b9ebeb6e
|
@ -122,6 +122,8 @@ void destroyStreamFillInfo(SStreamFillInfo* pFillInfo) {
|
|||
pFillInfo->type == TSDB_FILL_NULL || pFillInfo->type == TSDB_FILL_NULL_F) {
|
||||
taosMemoryFreeClear(pFillInfo->pResRow->pRowVal);
|
||||
taosMemoryFreeClear(pFillInfo->pResRow);
|
||||
taosMemoryFreeClear(pFillInfo->pNonFillRow->pRowVal);
|
||||
taosMemoryFreeClear(pFillInfo->pNonFillRow);
|
||||
}
|
||||
destroyStreamFillLinearInfo(pFillInfo->pLinearInfo);
|
||||
pFillInfo->pLinearInfo = NULL;
|
||||
|
|
|
@ -991,9 +991,9 @@ static void setForceWindowCloseFillRule(SStreamFillSupporter* pFillSup, SStreamF
|
|||
} else {
|
||||
pFillInfo->pos = FILL_POS_INVALID;
|
||||
setFillKeyInfo(ts, ts + 1, &pFillSup->interval, pFillInfo);
|
||||
if (pFillSup->cur.pRowVal != NULL) {
|
||||
copyNonFillValueInfo(pFillSup, pFillInfo);
|
||||
}
|
||||
}
|
||||
if (pFillSup->cur.pRowVal != NULL) {
|
||||
copyNonFillValueInfo(pFillSup, pFillInfo);
|
||||
}
|
||||
} break;
|
||||
case TSDB_FILL_PREV: {
|
||||
|
@ -1021,6 +1021,9 @@ static void setForceWindowCloseFillRule(SStreamFillSupporter* pFillSup, SStreamF
|
|||
static void setTimeSliceFillRule(SStreamFillSupporter* pFillSup, SStreamFillInfo* pFillInfo, TSKEY ts) {
|
||||
int32_t code = TSDB_CODE_SUCCESS;
|
||||
int32_t lino = 0;
|
||||
if (IS_FILL_CONST_VALUE(pFillInfo->type)) {
|
||||
copyNonFillValueInfo(pFillSup, pFillInfo);
|
||||
}
|
||||
if (!hasNextWindow(pFillSup) && !hasPrevWindow(pFillSup)) {
|
||||
pFillInfo->needFill = false;
|
||||
pFillInfo->pos = FILL_POS_START;
|
||||
|
@ -1057,7 +1060,7 @@ static void setTimeSliceFillRule(SStreamFillSupporter* pFillSup, SStreamFillInfo
|
|||
setFillKeyInfo(startTs, nextWKey, &pFillSup->interval, pFillInfo);
|
||||
pFillInfo->pos = FILL_POS_START;
|
||||
}
|
||||
copyNonFillValueInfo(pFillSup, pFillInfo);
|
||||
// copyNonFillValueInfo(pFillSup, pFillInfo);
|
||||
} break;
|
||||
case TSDB_FILL_PREV: {
|
||||
if (hasPrevWindow(pFillSup) && hasNextWindow(pFillSup) && pFillInfo->preRowKey != pFillInfo->prePointKey &&
|
||||
|
|
Loading…
Reference in New Issue