提交 8fa1096c 编写于 作者: M Minghao Li

enh(sync): add mndSnapshotRead mndSnapshotApply

上级 aa857815
...@@ -53,12 +53,12 @@ void* mndSnapshotRead(struct SSyncFSM* pFsm, const SSnapshot* snapshot, void* it ...@@ -53,12 +53,12 @@ void* mndSnapshotRead(struct SSyncFSM* pFsm, const SSnapshot* snapshot, void* it
/* /*
SMnode *pMnode = pFsm->data; SMnode *pMnode = pFsm->data;
SSdbIter *pIter; SSdbIter *pIter;
if (iter == NULL) { if (iter == NULL) {
pIter = sdbIterInit(pMnode->sdb) pIter = sdbIterInit(pMnode->sdb)
} else { } else {
pIter = iter; pIter = iter;
} }
pIter = sdbIterRead(pIter); pIter = sdbIterRead(pIter, ppBuf, len);
return pIter; return pIter;
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册