From 4d140b92ee3b12d293120c04e6b61e395bbec089 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Wed, 18 Nov 2015 16:30:24 +0100 Subject: [PATCH] ITS#8312 Fix loose pages in commit(nested txn) --- libraries/liblmdb/mdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 6bd025d2bf..a0ae06c729 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -3543,7 +3543,7 @@ mdb_txn_commit(MDB_txn *txn) } /* Append our loose page list to parent's */ - for (lp = &parent->mt_loose_pgs; *lp; lp = &NEXT_LOOSE_PAGE(lp)) + for (lp = &parent->mt_loose_pgs; *lp; lp = &NEXT_LOOSE_PAGE(*lp)) ; *lp = txn->mt_loose_pgs; parent->mt_loose_count += txn->mt_loose_count; -- 2.39.5