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

vl32b
Hallvard Furuseth 9 years ago
parent 355f64ad07
commit 4d140b92ee
  1. 2
      libraries/liblmdb/mdb.c

@ -3543,7 +3543,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