Commit 7ec866a5 authored by calvin's avatar calvin

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.
parent 3950b2b9
......@@ -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",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment