mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-04 18:14:12 +08:00
mdbx: backport - More MDB_node doc.
Change-Id: I2a4d2596af8d2c551d891b567e4d3366b2d6ad8c
This commit is contained in:
parent
ef00ee6095
commit
5bed0413f3
5
mdb.c
5
mdb.c
@ -619,6 +619,11 @@ typedef struct MDB_page {
|
|||||||
* pgno on branch nodes. On 64 bit platforms, #mn_flags is also used
|
* pgno on branch nodes. On 64 bit platforms, #mn_flags is also used
|
||||||
* for pgno. (Branch nodes have no flags). Lo and hi are in host byte
|
* for pgno. (Branch nodes have no flags). Lo and hi are in host byte
|
||||||
* order in case some accesses can be optimized to 32-bit word access.
|
* order in case some accesses can be optimized to 32-bit word access.
|
||||||
|
*
|
||||||
|
* Leaf node flags describe node contents. #F_BIGDATA says the node's
|
||||||
|
* data part is the page number of an overflow page with actual data.
|
||||||
|
* #F_DUPDATA and #F_SUBDATA can be combined giving duplicate data in
|
||||||
|
* a sub-page/sub-database, and named databases (just #F_SUBDATA).
|
||||||
*/
|
*/
|
||||||
typedef struct MDB_node {
|
typedef struct MDB_node {
|
||||||
/** part of data size or pgno
|
/** part of data size or pgno
|
||||||
|
Loading…
x
Reference in New Issue
Block a user