This commit is contained in:
Hongze Cheng 2022-03-11 02:36:53 +00:00
parent ec9ae2d954
commit 71ad7db1f1
1 changed files with 9 additions and 11 deletions

View File

@ -38,14 +38,12 @@ 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 kLen;
int vLen; int vLen;
int maxLocal; int maxLocal;