branches/zip: Remove PAGE_WRITECOMBINE from VirtualAlloc() in

os_mem_alloc_large(). Otherwise the allocation fails during startup 
with error code 87 - invalid parameter. Reviewed by Marko.
This commit is contained in:
calvin 2008-02-29 23:24:27 +00:00
parent 6be1195663
commit 3f0a923192

View file

@ -129,7 +129,7 @@ skip:
size = *n = ut_2pow_round(*n + system_info.dwPageSize - 1,
system_info.dwPageSize);
ptr = VirtualAlloc(NULL, size, MEM_COMMIT | MEM_RESERVE,
PAGE_READWRITE | PAGE_WRITECOMBINE);
PAGE_READWRITE);
if (!ptr) {
fprintf(stderr, "InnoDB: VirtualAlloc(%lu bytes) failed;"
" Windows error %lu\n",