Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_6

This commit is contained in:
Quanah Gibson-Mount 2025-11-04 15:46:54 +00:00
commit 88e29f8e2f
2 changed files with 2 additions and 1 deletions

View file

@ -1,6 +1,7 @@
LMDB 0.9 Change Log
LMDB 0.9.34 Engineering
ITS#9564 - fix race condition freeing spilled pages at end of transaction
ITS#10222 - Update mdb_dump(1) and mdb_load(1) man pages for append (-a) option
ITS#10275 - mdb_load: add -Q option to use NOSYNC
ITS#10296 - fix fdatasync on MacOS

View file

@ -3078,6 +3078,7 @@ mdb_txn_end(MDB_txn *txn, unsigned mode)
txn->mt_numdbs = 0;
txn->mt_flags = MDB_TXN_FINISHED;
mdb_midl_free(txn->mt_spill_pgs);
if (!txn->mt_parent) {
mdb_midl_shrink(&txn->mt_free_pgs);
@ -3099,7 +3100,6 @@ mdb_txn_end(MDB_txn *txn, unsigned mode)
mdb_midl_free(txn->mt_free_pgs);
free(txn->mt_u.dirty_list);
}
mdb_midl_free(txn->mt_spill_pgs);
mdb_midl_free(pghead);
}