logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mdb_page - Page Flags

Author

       Generated automatically by Doxygen for LMDB from the source code.

                                                      LMDB                                           mdb_page(3)

Detailed Description

       Flags for the page headers.

Macro Definition Documentation

#defineP_BRANCH0x01
       branch page

   #defineP_LEAF0x02
       leaf page

   #defineP_OVERFLOW0x04
       overflow page

   #defineP_META0x08
       meta page

   #defineP_DIRTY0x10
       dirty page, also set for P_SUBP pages

   #defineP_LEAF20x20
       for MDB_DUPFIXED records

   #defineP_SUBP0x40
       for MDB_DUPSORT sub-pages

   #defineP_LOOSE0x4000
       page was dirtied then freed, can be reused

   #defineP_KEEP0x8000
       leave this page alone during spill

Name

       mdb_page - Page Flags

Synopsis

Macros
       #define P_BRANCH   0x01
       #define P_LEAF   0x02
       #define P_OVERFLOW   0x04
       #define P_META   0x08
       #define P_DIRTY   0x10
       #define P_LEAF2   0x20
       #define P_SUBP   0x40
       #define P_LOOSE   0x4000
       #define P_KEEP   0x8000

See Also