enh(sync): add mndSnapshotRead mndSnapshotApply
This commit is contained in:
parent
aa85781560
commit
8fa1096c5b
|
@ -53,12 +53,12 @@ void* mndSnapshotRead(struct SSyncFSM* pFsm, const SSnapshot* snapshot, void* it
|
|||
/*
|
||||
SMnode *pMnode = pFsm->data;
|
||||
SSdbIter *pIter;
|
||||
if (iter == NULL) {
|
||||
if (iter == NULL) {
|
||||
pIter = sdbIterInit(pMnode->sdb)
|
||||
} else {
|
||||
pIter = iter;
|
||||
}
|
||||
pIter = sdbIterRead(pIter);
|
||||
pIter = sdbIterRead(pIter, ppBuf, len);
|
||||
return pIter;
|
||||
*/
|
||||
|
||||
|
|
Loading…
Reference in New Issue