From 86e78566e3ccd3b2d5451f5a31dc912a16ce81fb Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 2 Jul 2011 20:44:24 -0700 Subject: [PATCH] Tweak comment about overflow allocations --- libraries/libmdb/mdb.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libraries/libmdb/mdb.c b/libraries/libmdb/mdb.c index b5a9e33a9c..67e902e8a2 100644 --- 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 */ -- 2.39.5