From: Howard Chu Date: Sun, 17 Feb 2013 00:49:53 +0000 (+0000) Subject: ITS#7515 update parent's mt_next_pgno on child commit X-Git-Tag: OPENLDAP_REL_ENG_2_4_34~3^2~12 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fd4861bf00fb0b86a9f3b80d16cbe363a8eac227;p=openldap ITS#7515 update parent's mt_next_pgno on child commit --- 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; }