|
|
@ -2838,7 +2838,7 @@ mdb_txn_reset0(MDB_txn *txn, const char *act) |
|
|
|
unsigned i, n = txn->mt_rpages[0].mid; |
|
|
|
unsigned i, n = txn->mt_rpages[0].mid; |
|
|
|
for (i = 1; i <= n; i++) { |
|
|
|
for (i = 1; i <= n; i++) { |
|
|
|
#ifdef _WIN32 |
|
|
|
#ifdef _WIN32 |
|
|
|
UnmapViewOfFile(txn->mt_rpages[i].mptr);) |
|
|
|
UnmapViewOfFile(txn->mt_rpages[i].mptr); |
|
|
|
#else |
|
|
|
#else |
|
|
|
MDB_page *mp = txn->mt_rpages[i].mptr; |
|
|
|
MDB_page *mp = txn->mt_rpages[i].mptr; |
|
|
|
int size = txn->mt_env->me_psize; |
|
|
|
int size = txn->mt_env->me_psize; |
|
|
|