提交 71ad7db1 编写于 作者: H Hongze Cheng

more TDB

上级 ec9ae2d9
...@@ -38,21 +38,19 @@ typedef struct __attribute__((__packed__)) { ...@@ -38,21 +38,19 @@ typedef struct __attribute__((__packed__)) {
struct SPage { struct SPage {
pthread_spinlock_t lock; pthread_spinlock_t lock;
u8 *pData; u8 *pData;
SPgid pgid;
int pageSize; int pageSize;
// Fields below used by pager and am // Fields below used by pager and am
SPgid pgid;
SPageHdr *pPageHdr; SPageHdr *pPageHdr;
SPageFooter *pPageFooter; SPageFooter *pPageFooter;
u16 *aCellIdx;
u16 *aCellIdx; int kLen;
int vLen;
int kLen; int maxLocal;
int vLen; int minLocal;
int maxLocal; int nOverflow;
int minLocal; void *apOvfl[4];
int nOverflow; int aiOvfl[4];
void *apOvfl[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.
先完成此消息的编辑!
想要评论请 注册