fix typo in bug fix of ITS#9910

mdb.crypto
Niko 2 years ago
commit 8f5590a34b
  1. 1
      libraries/liblmdb/mdb.c

@ -3715,7 +3715,6 @@ mdb_freelist_save(MDB_txn *txn)
unsigned x; unsigned x;
if ((rc = mdb_midl_need(&txn->mt_free_pgs, txn->mt_loose_count)) != 0) if ((rc = mdb_midl_need(&txn->mt_free_pgs, txn->mt_loose_count)) != 0)
return rc; return rc;
lost_loose = txn->mt_loose_count;
for (; mp; mp = NEXT_LOOSE_PAGE(mp)) { for (; mp; mp = NEXT_LOOSE_PAGE(mp)) {
mdb_midl_xappend(txn->mt_free_pgs, mp->mp_pgno); mdb_midl_xappend(txn->mt_free_pgs, mp->mp_pgno);
/* must also remove from dirty list */ /* must also remove from dirty list */

Loading…
Cancel
Save