From 025cf0b00e9cf6ff0857bb19c9566b8cf4c8d942 Mon Sep 17 00:00:00 2001 From: Leo Yuriev Date: Sat, 29 Sep 2018 16:39:15 +0300 Subject: [PATCH] mdbx: minor fix mdbx_updage_gc(). Change-Id: Ie6bc38e86837ab0863c60500dce0c965e447b209 --- src/mdbx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mdbx.c b/src/mdbx.c index f0f1bb2e..1b2378ac 100644 --- a/src/mdbx.c +++ b/src/mdbx.c @@ -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) {