Merge branch 'enh/dev3.0' into enh/addCompileError

This commit is contained in:
yihaoDeng 2023-05-26 14:01:05 +00:00
parent 4b931d3007
commit 2f5fe2dec6
1 changed files with 4 additions and 2 deletions

View File

@ -1104,8 +1104,10 @@ int32_t streamStateClear_rocksdb(SStreamState* pState) {
}
char* err = NULL;
if (pState->pTdbState->pHandle[1] != NULL) {
rocksdb_delete_range_cf(pState->pTdbState->rocksdb, pState->pTdbState->writeOpts, pState->pTdbState->pHandle[1],
sKeyStr, sLen, eKeyStr, eLen, &err);
}
// rocksdb_compact_range_cf(pState->pTdbState->rocksdb, pState->pTdbState->pHandle[0], sKeyStr, sLen, eKeyStr,
// eLen);
if (err != NULL) {