From 7b8a1c9794410ea622430a5fb840ab1c6c1f51a4 Mon Sep 17 00:00:00 2001 From: Leo Yuriev Date: Fri, 28 Jul 2017 21:53:15 +0300 Subject: [PATCH] mdbx: fix typo. Change-Id: Ib491469a2a7ebb6bdadf995fa3a964d23fdf7036 --- src/mdbx.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/mdbx.c b/src/mdbx.c index caefd6aa..240c115d 100644 --- a/src/mdbx.c +++ b/src/mdbx.c @@ -1864,11 +1864,10 @@ static int mdbx_page_alloc(MDBX_cursor *mc, unsigned num, MDBX_page **mp, return MDBX_SUCCESS; } - /* Refund suitable pages into "unallocated" pull */ mdbx_tassert(txn, repg_len == 0 || repg_list[repg_len] < txn->mt_next_pgno); if (repg_len) { - /* Refund suitable pages into "unallocated" pull */ + /* Refund suitable pages into "unallocated" space */ pgno_t tail = txn->mt_next_pgno; pgno_t *const begin = repg_list + 1; pgno_t *const end = begin + repg_len; @@ -3074,7 +3073,7 @@ again_on_freelist_change: mdbx_tassert(txn, mdbx_pnl_check(env->me_reclaimed_pglist)); if (env->me_reclaimed_pglist) { - /* Refund suitable pages into "unallocated" pull */ + /* Refund suitable pages into "unallocated" space */ pgno_t tail = txn->mt_next_pgno; pgno_t *const begin = env->me_reclaimed_pglist + 1; pgno_t *const end = begin + env->me_reclaimed_pglist[0];