ITS#7515 update parent's mt_next_pgno on child commit

vmware
Howard Chu 12 years ago
parent 890f1da3ee
commit fd4861bf00
  1. 1
      libraries/liblmdb/mdb.c

@ -2104,6 +2104,7 @@ mdb_txn_commit(MDB_txn *txn)
dst[0].mid = x;
free(txn->mt_u.dirty_list);
txn->mt_parent->mt_child = NULL;
txn->mt_parent->mt_next_pgno = txn->mt_next_pgno;
free(txn);
return MDB_SUCCESS;
}

Loading…
Cancel
Save