diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-01-21 14:37:55 -0700 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-01-21 15:00:48 -0700 |
commit | bce3e667dff9d6ab51f4e37bc79ef961e36bfb31 (patch) | |
tree | 1ba0fc541a5d729590b9e43a0d9072fe7d027a05 /db.go | |
parent | Refactoring to RWCursor, RWTxn, and branch/leaf nodes and pages. (diff) | |
download | dedo-bce3e667dff9d6ab51f4e37bc79ef961e36bfb31.tar.gz dedo-bce3e667dff9d6ab51f4e37bc79ef961e36bfb31.tar.xz |
Intermediate commit.
Diffstat (limited to 'db.go')
-rw-r--r-- | db.go | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -46,11 +46,11 @@ type DB struct { size int /**< current file size */ pbuf []byte transaction *RWTransaction /**< current write transaction */ - maxPageNumber int /**< me_mapsize / me_psize */ - dpages []*page /**< list of malloc'd blocks for re-use */ - freePages []int /** IDL of pages that became unused in a write txn */ - dirtyPages []int /** ID2L of pages written during a write txn. Length MDB_IDL_UM_SIZE. */ - maxFreeOnePage int /** Max number of freelist items that can fit in a single overflow page */ + maxPageNumber int /**< me_mapsize / me_psize */ + dpages []*page /**< list of malloc'd blocks for re-use */ + freePages []int /** IDL of pages that became unused in a write txn */ + dirtyPages []int /** ID2L of pages written during a write txn. Length MDB_IDL_UM_SIZE. */ + maxFreeOnePage int /** Max number of freelist items that can fit in a single overflow page */ maxPageDataSize int maxNodeSize int /** Max size of a node on a page */ maxKeySize int /**< max size of a key */ |