mdb_page(3)
π mdb_page(3) π
ok so bestie, welcome to mdb_page β that's a manual page from section 3 of the Library Functions Manual, and it's literally just the β¨Page Flagsβ¨. it's giving "short but iconic". no cap, this one's a lil cheat sheet and you're gonna eat it up.
πΈ NAME πΈ
mdb_page β Page Flags π
β¨ SYNOPSIS β¨
π Macros
these are the whole vibe, fr fr:
#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
π¦ Detailed Description π¦
Flags for the page headers. that's the whole thing, she's simple and she knows it π
π Macro Definition Documentation π
π« #define P_BRANCH 0x01
branch page πΏ like a branch node, main character energy
πΈ #define P_LEAF 0x02
leaf page π the leaf of the tree, living her best life at the bottom
π«§ #define P_OVERFLOW 0x04
overflow page π when the data simply cannot fit, she spills over
π #define P_META 0x08
meta page β¨ the metadata moment
π
#define P_DIRTY 0x10
dirty page, also set for P_SUBP pages π not "dirty" like scandalous, dirty like "this got modified and needs to be written back". and yes, she's also set on P_SUBP pages too, so don't forget that part bestie
π #define P_LEAF2 0x20
for MDB_DUPFIXED records π
π§ #define P_SUBP 0x40
for MDB_DUPSORT sub-pages π
π #define P_LOOSE 0x4000
page was dirtied then freed, can be reused β»οΈ we love a recycling queen
β #define P_KEEP 0x8000
leave this page alone during spill π hands off, do not touch, respect her boundaries
π Author π
Generated automatically by Doxygen for LMDB from the source code. yes she was literally born from a tool, slay π€β¨
ok that's the whole page, every single flag accounted for, nothing skipped, periodt π
signing off: this lil cutie is part of LMDB β the Library Functions Manual, section 3, generated by Doxygen straight from the LMDB source code. mwah, go forth and read your page headers π«Άπ
π¦ where this page comes from
- ubuntu noble: lmdb-doc 0.9.31-1build1 Β· OpenLDAP-2.8
- ubuntu questing: lmdb-doc 0.9.31-1build1
- ubuntu resolute: lmdb-doc 0.9.31-1build2 Β· OpenLDAP-2.8
- ubuntu stonking: lmdb-doc 0.9.35-1 Β· OpenLDAP-2.8
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms