Merge branch 'enh/dev3.0' into enh/addCompileError
This commit is contained in:
parent
4b931d3007
commit
2f5fe2dec6
|
@ -1104,8 +1104,10 @@ int32_t streamStateClear_rocksdb(SStreamState* pState) {
|
|||
}
|
||||
|
||||
char* err = NULL;
|
||||
rocksdb_delete_range_cf(pState->pTdbState->rocksdb, pState->pTdbState->writeOpts, pState->pTdbState->pHandle[1],
|
||||
sKeyStr, sLen, eKeyStr, eLen, &err);
|
||||
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) {
|
||||
|
|
Loading…
Reference in New Issue