fill state
This commit is contained in:
parent
53857abe18
commit
ae117bd7c3
|
@ -256,8 +256,10 @@ int32_t streamStateBegin(SStreamState* pState) {
|
|||
|
||||
int32_t streamStateCommit(SStreamState* pState) {
|
||||
#ifdef USE_ROCKSDB
|
||||
if (pState->pFileState) {
|
||||
SStreamSnapshot* pShot = getSnapshot(pState->pFileState);
|
||||
flushSnapshot(pState->pFileState, pShot, true);
|
||||
}
|
||||
return 0;
|
||||
#else
|
||||
if (tdbCommit(pState->pTdbState->db, pState->pTdbState->txn) < 0) {
|
||||
|
|
Loading…
Reference in New Issue