add check
This commit is contained in:
parent
7517228dde
commit
2c0445fff4
|
@ -445,7 +445,9 @@ _end:
|
|||
}
|
||||
|
||||
int32_t clearRowBuff(SStreamFileState* pFileState) {
|
||||
clearExpiredRowBuff(pFileState, pFileState->maxTs - pFileState->deleteMark, false);
|
||||
if (pFileState->deleteMark != INT64_MAX) {
|
||||
clearExpiredRowBuff(pFileState, pFileState->maxTs - pFileState->deleteMark, false);
|
||||
}
|
||||
if (isListEmpty(pFileState->freeBuffs)) {
|
||||
return flushRowBuff(pFileState);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue