Data Fields | |
| uint32_t | mm_magic |
| uint32_t | mm_version |
| void * | mm_address |
| size_t | mm_mapsize |
| MDB_db | mm_dbs [2] |
| pgno_t | mm_last_pg |
| txnid_t | mm_txnid |
Meta page content. A meta page is the start point for accessing a database snapshot. Pages 0-1 are meta pages. Transaction N writes meta page #(N % 2).
| uint32_t MDB_meta::mm_magic |
Stamp identifying this as an MDB file. It must be set to MDB_MAGIC.
| uint32_t MDB_meta::mm_version |
Version number of this lock file. Must be set to MDB_DATA_VERSION.
| void* MDB_meta::mm_address |
address for fixed mapping
| size_t MDB_meta::mm_mapsize |
size of mmap region
first is free space, 2nd is main db
last used page in file
txnid that committed this page
1.6.1