Tweak comment about overflow allocations

vmware
Howard Chu 14 years ago
parent bc0ca49d16
commit 86e78566e3
  1. 5
      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; MDB_oldpages *mop = txn->mt_env->me_pghead;
txn->mt_oldest = oldest; txn->mt_oldest = oldest;
if (num > 1) { if (num > 1) {
/* FIXME */ /* FIXME: For now, always use fresh pages. We
* really ought to search the free list for a
* contiguous range.
*/
; ;
} else { } else {
/* peel pages off tail, so we only have to truncate the list */ /* peel pages off tail, so we only have to truncate the list */

Loading…
Cancel
Save