From fd4861bf00fb0b86a9f3b80d16cbe363a8eac227 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 17 Feb 2013 00:49:53 +0000 Subject: [PATCH] ITS#7515 update parent's mt_next_pgno on child commit --- libraries/liblmdb/mdb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 8d7b97e099..7c766aad54 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -2104,6 +2104,7 @@ mdb_txn_commit(MDB_txn *txn) dst[0].mid = x; free(txn->mt_u.dirty_list); txn->mt_parent->mt_child = NULL; + txn->mt_parent->mt_next_pgno = txn->mt_next_pgno; free(txn); return MDB_SUCCESS; } -- 2.39.5