mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-13 14:27:59 +08:00
ITS#7515 update parent's mt_next_pgno on child commit
This commit is contained in:
parent
890f1da3ee
commit
fd4861bf00
@ -2104,6 +2104,7 @@ mdb_txn_commit(MDB_txn *txn)
|
|||||||
dst[0].mid = x;
|
dst[0].mid = x;
|
||||||
free(txn->mt_u.dirty_list);
|
free(txn->mt_u.dirty_list);
|
||||||
txn->mt_parent->mt_child = NULL;
|
txn->mt_parent->mt_child = NULL;
|
||||||
|
txn->mt_parent->mt_next_pgno = txn->mt_next_pgno;
|
||||||
free(txn);
|
free(txn);
|
||||||
return MDB_SUCCESS;
|
return MDB_SUCCESS;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user