Merge pull request #614
d2a5f72
Fix --db-sync-mode on Windows64 (Howard Chu)4cf6e2b
Fix30f92f5630
(Howard Chu)
This commit is contained in:
commit
d42aca8756
|
@ -2429,7 +2429,7 @@ mdb_page_alloc(MDB_cursor *mc, int num, MDB_page **mp)
|
|||
goto fail;
|
||||
}
|
||||
#ifdef _WIN32
|
||||
if (env->me_flags & MDB_WRITEMAP) {
|
||||
if (!(env->me_flags & MDB_RDONLY)) {
|
||||
void *p;
|
||||
p = (MDB_page *)(env->me_map + env->me_psize * pgno);
|
||||
p = VirtualAlloc(p, env->me_psize * num, MEM_COMMIT,
|
||||
|
|
|
@ -128,6 +128,7 @@ public:
|
|||
virtual uint8_t get_hard_fork_version(uint64_t height) const {
|
||||
return versions[height];
|
||||
}
|
||||
virtual void check_hard_fork_info() {}
|
||||
|
||||
private:
|
||||
std::vector<block> blocks;
|
||||
|
|
Loading…
Reference in New Issue