mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 19:41:47 +01:00
branches/zip: In os_mem_alloc_large(), if we fail to attach
the shared memory, reset memory pointer ptr to NULL, and allocate memory from conventional pool. Bug #48237 Error handling in os_mem_alloc_large appears to be incorrect rb://198 Approved by: Marko
This commit is contained in:
parent
4ef824eda2
commit
b7d97860dc
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +97,7 @@ os_mem_alloc_large(
|
|||
fprintf(stderr, "InnoDB: HugeTLB: Warning: Failed to"
|
||||
" attach shared memory segment, errno %d\n",
|
||||
errno);
|
||||
ptr = NULL;
|
||||
}
|
||||
|
||||
/* Remove the shared memory segment so that it will be
|
||||
|
|
Loading…
Add table
Reference in a new issue