]> git.sur5r.net Git - openldap/commitdiff
Revert "ITS#7515 update parent's mt_next_pgno on child commit"
authorHallvard Furuseth <hallvard@openldap.org>
Sun, 17 Feb 2013 07:42:14 +0000 (08:42 +0100)
committerHallvard Furuseth <hallvard@openldap.org>
Sun, 17 Feb 2013 07:42:14 +0000 (08:42 +0100)
This reverts commit fd4861bf00fb0b86a9f3b80d16cbe363a8eac227.
It duplicated earlier code.

libraries/liblmdb/mdb.c

index 7c766aad54e8dad9d0bcac3752bda6faad9909a2..8d7b97e099ce1c8bffd02c1ecb38547b7e9d35ce 100644 (file)
@@ -2104,7 +2104,6 @@ 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;
        }