mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
my_large_malloc: style fix
This commit is contained in:
parent
2c00502014
commit
5e86b2eec8
1 changed files with 3 additions and 3 deletions
|
@ -260,10 +260,10 @@ MAP_ANON but MAP_ANONYMOUS is marked "for compatibility" */
|
|||
my_malloc_lock() in case of failure.
|
||||
Every implementation returns a zero filled buffer here.
|
||||
*/
|
||||
uchar* my_large_malloc(size_t *size, myf my_flags)
|
||||
uchar *my_large_malloc(size_t *size, myf my_flags)
|
||||
{
|
||||
uchar* ptr= NULL;
|
||||
|
||||
uchar *ptr= NULL;
|
||||
|
||||
#ifdef _WIN32
|
||||
DWORD alloc_type= MEM_COMMIT | MEM_RESERVE;
|
||||
size_t orig_size= *size;
|
||||
|
|
Loading…
Add table
Reference in a new issue