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

more TDB

上级 fe1bd867
...@@ -24,7 +24,7 @@ typedef u8 SCell; ...@@ -24,7 +24,7 @@ typedef u8 SCell;
typedef struct __attribute__((__packed__)) { typedef struct __attribute__((__packed__)) {
u8 cksm[4]; u8 cksm[4];
} SPageFooter; } SPageFtr;
typedef struct __attribute__((__packed__)) { typedef struct __attribute__((__packed__)) {
u16 flags; u16 flags;
...@@ -40,17 +40,17 @@ struct SPage { ...@@ -40,17 +40,17 @@ struct SPage {
u8 *pData; u8 *pData;
int pageSize; int pageSize;
// Fields below used by pager and am // Fields below used by pager and am
SPgid pgid; SPgid pgid;
SPageHdr *pPageHdr; SPageHdr *pPageHdr;
SPageFooter *pPageFooter; SPageFtr *pPageFtr;
u16 *aCellIdx; u16 *aCellIdx;
int kLen; int kLen;
int vLen; int vLen;
int maxLocal; int maxLocal;
int minLocal; int minLocal;
int nOverflow; int nOverflow;
void *apOvfl[4]; void *apOvfl[4];
int aiOvfl[4]; int aiOvfl[4];
// Fields used by SPCache // Fields used by SPCache
TDB_PCACHE_PAGE TDB_PCACHE_PAGE
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册