mdb_page(3)

πŸ“¦
version 0.9.35 Β· 4 versions
, in ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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