Merge pull request #340

35b62fb hyc accidentally typo'd...we shall never speak of this again (Riccardo Spagni)
This commit is contained in:
Riccardo Spagni 2015-07-16 14:11:04 +02:00
commit c9e5fece32
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -2880,7 +2880,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;