Removing the WRITEMAP test dropped this into the MDB_VL32 code path,
which was wrong.
rawpart
Howard Chu 9 years ago
parent 8c215aa970
commit 8f88b1b0ba
  1. 2
      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;
}
#ifdef _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);

Loading…
Cancel
Save