mirror of
https://github.com/monero-project/monero.git
synced 2024-12-14 20:36:31 +02:00
Merge pull request #340
35b62fb
hyc accidentally typo'd...we shall never speak of this again (Riccardo Spagni)
This commit is contained in:
commit
c9e5fece32
2
external/db_drivers/liblmdb32/mdb.c
vendored
2
external/db_drivers/liblmdb32/mdb.c
vendored
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user