Skip to content

Commit 9db2b6e

Browse files
committed
More MDB_node doc
1 parent a4976c1 commit 9db2b6e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

libraries/liblmdb/mdb.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -879,6 +879,11 @@ typedef struct MDB_page {
879879
* pgno on branch nodes. On 64 bit platforms, #mn_flags is also used
880880
* for pgno. (Branch nodes have no flags). Lo and hi are in host byte
881881
* order in case some accesses can be optimized to 32-bit word access.
882+
*
883+
* Leaf node flags describe node contents. #F_BIGDATA says the node's
884+
* data part is the page number of an overflow page with actual data.
885+
* #F_DUPDATA and #F_SUBDATA can be combined giving duplicate data in
886+
* a sub-page/sub-database, and named databases (just #F_SUBDATA).
882887
*/
883888
typedef struct MDB_node {
884889
/** part of data size or pgno

0 commit comments

Comments
 (0)