fear(stream): add log

This commit is contained in:
54liuyao 2022-10-25 15:17:42 +08:00
parent bb490f0762
commit d9615c7d4c
1 changed files with 2 additions and 1 deletions

View File

@ -1541,7 +1541,8 @@ static void deleteIntervalDiscBuf(SStreamState* pState, SHashObj* pPullDataMap,
} }
} }
if (qDebugFlag & DEBUG_DEBUG) { // for debug
if (qDebugFlag & DEBUG_DEBUG && mark > 0) {
SStreamStateCur* pCur = streamStateGetCur(pState, key); SStreamStateCur* pCur = streamStateGetCur(pState, key);
int32_t code = streamStateCurPrev(pState, pCur); int32_t code = streamStateCurPrev(pState, pCur);
if (code == TSDB_CODE_SUCCESS) { if (code == TSDB_CODE_SUCCESS) {