Revert "ITS#7515 update parent's mt_next_pgno on child commit"

This reverts commit fd4861bf00.
It duplicated earlier code.
vmware
Hallvard Furuseth 12 years ago
parent fd4861bf00
commit ef25056cfb
  1. 1
      libraries/liblmdb/mdb.c

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

Loading…
Cancel
Save