提交 f207fbc0 编写于 作者: H Hongze Cheng

more tdb

上级 a751c97f
......@@ -69,3 +69,14 @@ int tdbCloseMP(TDB_MPOOL *mp) {
// TODO
return 0;
}
int tdbMPFetchPage(TDB_MPOOL *mp, mp_pgid_t mpgid, void *p) {
// Search the hash
// TODO
return 0;
}
int tdbMpUnfetchPage(TDB_MPOOL *mp, mp_pgid_t mpgid, void *p) {
// TODO
return 0;
}
\ No newline at end of file
......@@ -34,6 +34,7 @@ typedef struct MP_PAGE {
// SRWLatch rwLatch;
mp_pgid_t mpgid;
uint8_t dirty;
uint8_t fileid[TDB_FILE_UID_LEN];
int32_t pinRef;
TD_DLIST_NODE(MP_PAGE);
char *page[];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册