mirror of
https://github.com/isar/libmdbx.git
synced 2025-02-01 05:58:21 +08:00
mdbx: backport - ITS#8312 Fix loose pages in commit(nested txn).
Change-Id: Ie335dcff0c87cfc13abf9b937f5d058d3ea9d841
This commit is contained in:
parent
f3043badc5
commit
86abc397e8
1
CHANGES
1
CHANGES
@ -17,6 +17,7 @@ LMDB 0.9.17 Release Engineering
|
||||
Fix ITS#7971 mdb_txn_renew0() new reader slots
|
||||
Fix ITS#7969 use __sync_synchronize on non-x86
|
||||
Fix ITS#8311 page_split from update_key
|
||||
Fix ITS#8312 loose pages in nested txn
|
||||
Added mdb_txn_id() (ITS#7994)
|
||||
Added robust mutex support
|
||||
Miscellaneous cleanup/simplification
|
||||
|
2
mdb.c
2
mdb.c
@ -3786,7 +3786,7 @@ mdb_txn_commit(MDB_txn *txn)
|
||||
}
|
||||
|
||||
/* Append our loose page list to parent's */
|
||||
for (lp = &parent->mt_loose_pgs; *lp; lp = &NEXT_LOOSE_PAGE(lp))
|
||||
for (lp = &parent->mt_loose_pgs; *lp; lp = &NEXT_LOOSE_PAGE(*lp))
|
||||
;
|
||||
*lp = txn->mt_loose_pgs;
|
||||
parent->mt_loose_count += txn->mt_loose_count;
|
||||
|
Loading…
x
Reference in New Issue
Block a user