mdbx: minor fix mdbx_updage_gc().

Change-Id: Ie6bc38e86837ab0863c60500dce0c965e447b209
This commit is contained in:
Leo Yuriev 2018-09-29 16:39:15 +03:00
parent e819099dec
commit 025cf0b00e

View File

@ -3805,7 +3805,7 @@ static int mdbx_update_gc(MDBX_txn *txn) {
MDBX_cursor mc;
int rc = mdbx_cursor_init(&mc, txn, FREE_DBI);
if (unlikely(rc != MDBX_SUCCESS))
goto bailout;
goto bailout_notracking;
mc.mc_next = txn->mt_cursors[FREE_DBI];
txn->mt_cursors[FREE_DBI] = &mc;
@ -4423,6 +4423,7 @@ retry:
bailout:
txn->mt_cursors[FREE_DBI] = mc.mc_next;
bailout_notracking:
if (txn->mt_lifo_reclaimed) {
MDBX_PNL_SIZE(txn->mt_lifo_reclaimed) = 0;
if (txn != env->me_txn0) {