projects
/
platform
/
upstream
/
lmdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c215aa
)
ITS#8324 fix a6ccef73ed288271f9b5871909d14a2e481c81ae
author
Howard Chu
<hyc@openldap.org>
Tue, 26 Jan 2016 22:13:01 +0000
(22:13 +0000)
committer
Howard Chu
<hyc@openldap.org>
Tue, 26 Jan 2016 22:13:01 +0000
(22:13 +0000)
Removing the WRITEMAP test dropped this into the MDB_VL32 code path,
which was wrong.
libraries/liblmdb/mdb.c
patch
|
blob
|
history
diff --git
a/libraries/liblmdb/mdb.c
b/libraries/liblmdb/mdb.c
index
fa5416f
..
be36d49
100644
(file)
--- a/
libraries/liblmdb/mdb.c
+++ b/
libraries/liblmdb/mdb.c
@@
-2428,7
+2428,7
@@
mdb_page_alloc(MDB_cursor *mc, int num, MDB_page **mp)
rc = MDB_MAP_FULL;
goto fail;
}
-#if
def _WIN32
+#if
defined(_WIN32) && !defined(MDB_VL32)
if (!(env->me_flags & MDB_RDONLY)) {
void *p;
p = (MDB_page *)(env->me_map + env->me_psize * pgno);