mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
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:
parent
6be1195663
commit
3f0a923192
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue