|
|
|
@ -2822,7 +2822,7 @@ mdb_txn_reset0(MDB_txn *txn, const char *act) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (!txn->mt_parent) { |
|
|
|
|
if (mdb_midl_shrink(&txn->mt_free_pgs)) |
|
|
|
|
mdb_midl_shrink(&txn->mt_free_pgs); |
|
|
|
|
env->me_free_pgs = txn->mt_free_pgs; |
|
|
|
|
/* me_pgstate: */ |
|
|
|
|
env->me_pghead = NULL; |
|
|
|
@ -3409,7 +3409,7 @@ mdb_txn_commit(MDB_txn *txn) |
|
|
|
|
|
|
|
|
|
mdb_midl_free(env->me_pghead); |
|
|
|
|
env->me_pghead = NULL; |
|
|
|
|
if (mdb_midl_shrink(&txn->mt_free_pgs)) |
|
|
|
|
mdb_midl_shrink(&txn->mt_free_pgs); |
|
|
|
|
env->me_free_pgs = txn->mt_free_pgs; |
|
|
|
|
|
|
|
|
|
#if (MDB_DEBUG) > 2 |
|
|
|
|