From e7230ab348c5a8cf20adb8e35bcbdf20582a0c18 Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Fri, 11 Mar 2022 05:51:24 +0000 Subject: [PATCH] more TDB --- source/libs/tdb/src/inc/tdbPage.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/source/libs/tdb/src/inc/tdbPage.h b/source/libs/tdb/src/inc/tdbPage.h index e225ca22f6..42656cfc9a 100644 --- a/source/libs/tdb/src/inc/tdbPage.h +++ b/source/libs/tdb/src/inc/tdbPage.h @@ -24,7 +24,7 @@ typedef u8 SCell; typedef struct __attribute__((__packed__)) { u8 cksm[4]; -} SPageFooter; +} SPageFtr; typedef struct __attribute__((__packed__)) { u16 flags; @@ -40,17 +40,17 @@ struct SPage { u8 *pData; int pageSize; // Fields below used by pager and am - SPgid pgid; - SPageHdr *pPageHdr; - SPageFooter *pPageFooter; - u16 *aCellIdx; - int kLen; - int vLen; - int maxLocal; - int minLocal; - int nOverflow; - void *apOvfl[4]; - int aiOvfl[4]; + SPgid pgid; + SPageHdr *pPageHdr; + SPageFtr *pPageFtr; + u16 *aCellIdx; + int kLen; + int vLen; + int maxLocal; + int minLocal; + int nOverflow; + void *apOvfl[4]; + int aiOvfl[4]; // Fields used by SPCache TDB_PCACHE_PAGE }; -- GitLab