ITS#8312 Fix loose pages in commit(nested txn)

mdb.RE/0.9
Hallvard Furuseth 9 years ago committed by Howard Chu
parent 27f71b4dd3
commit db510359c9
  1. 2
      libraries/liblmdb/mdb.c

@ -3474,7 +3474,7 @@ mdb_txn_commit(MDB_txn *txn)
} }
/* Append our loose page list to parent's */ /* 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; *lp = txn->mt_loose_pgs;
parent->mt_loose_count += txn->mt_loose_count; parent->mt_loose_count += txn->mt_loose_count;

Loading…
Cancel
Save