LMDB  1.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
Page Flags
LMDB Internals

Macros

#define P_BRANCH   0x01
 
#define P_LEAF   0x02
 
#define P_OVERFLOW   0x04
 
#define P_META   0x08
 
#define P_LEAF2   0x20
 
#define P_SUBP   0x40
 
#define P_DIRTY_OVF   0x2000
 
#define P_LOOSE   0x4000
 
#define P_KEEP   0x8000
 
#define P_ADM_FLAGS   0 /* later... */
 

Detailed Description

Flags for the page headers.

Macro Definition Documentation

#define P_BRANCH   0x01

branch page

#define P_LEAF   0x02

leaf page

#define P_OVERFLOW   0x04

overflow page

#define P_META   0x08

meta page

#define P_LEAF2   0x20

for MDB_DUPFIXED records

#define P_SUBP   0x40

for MDB_DUPSORT sub-pages

#define P_DIRTY_OVF   0x2000

page has dirty overflow nodes

#define P_LOOSE   0x4000

page was dirtied then freed, can be reused

#define P_KEEP   0x8000

leave this page alone during spill

#define P_ADM_FLAGS   0 /* later... */

Persistent flags for page administration rather than page contents