Fix abort of child txn
vmware
Howard Chu 12 years ago
parent 4608cd9552
commit 14a08f877f
  1. 2
      libraries/libmdb/mdb.c

@ -1757,7 +1757,7 @@ mdb_txn_reset0(MDB_txn *txn)
if (txn->mt_parent) { if (txn->mt_parent) {
txn->mt_parent->mt_child = NULL; txn->mt_parent->mt_child = NULL;
free(txn->mt_free_pgs); mdb_midl_free(txn->mt_free_pgs);
free(txn->mt_u.dirty_list); free(txn->mt_u.dirty_list);
return; return;
} else { } else {

Loading…
Cancel
Save