projects
/
platform
/
upstream
/
lmdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc0ca49
)
Tweak comment about overflow allocations
author
Howard Chu
<hyc@symas.com>
Sun, 3 Jul 2011 03:44:24 +0000
(20:44 -0700)
committer
Howard Chu
<hyc@symas.com>
Thu, 1 Sep 2011 23:17:06 +0000
(16:17 -0700)
libraries/libmdb/mdb.c
patch
|
blob
|
history
diff --git
a/libraries/libmdb/mdb.c
b/libraries/libmdb/mdb.c
index b5a9e33a9c1ae91b02246566d4a4683714c1da7d..67e902e8a2cae5d7c1c633b8a9a56ecc02e0ba58 100644
(file)
--- a/
libraries/libmdb/mdb.c
+++ b/
libraries/libmdb/mdb.c
@@
-389,7
+389,10
@@
mdb_newpage(MDB_txn *txn, MDB_page *parent, unsigned int parent_idx, int num)
MDB_oldpages *mop = txn->mt_env->me_pghead;
txn->mt_oldest = oldest;
if (num > 1) {
- /* FIXME */
+ /* FIXME: For now, always use fresh pages. We
+ * really ought to search the free list for a
+ * contiguous range.
+ */
;
} else {
/* peel pages off tail, so we only have to truncate the list */