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

more TDB

上级 6f3743e1
...@@ -14,3 +14,13 @@ ...@@ -14,3 +14,13 @@
*/ */
#include "tdbInt.h" #include "tdbInt.h"
int tdbPageInsertCell(SPage *pPage, int idx, u8 *pCell, int szCell) {
// TODO
return 0;
}
int tdbPageDropCell(SPage *pPage, int idx) {
// TODO
return 0;
}
\ No newline at end of file
...@@ -87,6 +87,10 @@ struct SPage { ...@@ -87,6 +87,10 @@ struct SPage {
#define TDB_GET_PAGE_REF(pPage) atomic_load_32(&((pPage)->nRef)) #define TDB_GET_PAGE_REF(pPage) atomic_load_32(&((pPage)->nRef))
#endif #endif
// APIs
int tdbPageInsertCell(SPage *pPage, int idx, u8 *pCell, int szCell);
int tdbPageDropCell(SPage *pPage, int idx);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册