mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
merge.
checkpoint. does not compile.
This commit is contained in:
@ -67,11 +67,13 @@ void init_sql_alloc(MEM_ROOT *mem_root, uint block_size, uint pre_alloc)
|
||||
}
|
||||
|
||||
|
||||
#ifndef MYSQL_CLIENT
|
||||
void *sql_alloc(size_t Size)
|
||||
{
|
||||
MEM_ROOT *root= *my_pthread_getspecific_ptr(MEM_ROOT**,THR_MALLOC);
|
||||
return alloc_root(root,Size);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
void *sql_calloc(size_t size)
|
||||
|
Reference in New Issue
Block a user