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

more TDB

上级 6f3743e1
......@@ -13,4 +13,14 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "tdbInt.h"
\ No newline at end of file
#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 {
#define TDB_GET_PAGE_REF(pPage) atomic_load_32(&((pPage)->nRef))
#endif
// APIs
int tdbPageInsertCell(SPage *pPage, int idx, u8 *pCell, int szCell);
int tdbPageDropCell(SPage *pPage, int idx);
#ifdef __cplusplus
}
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册