diff options
Diffstat (limited to 'sql/thr_malloc.cc')
-rw-r--r-- | sql/thr_malloc.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/thr_malloc.cc b/sql/thr_malloc.cc index 79a6fd79d4c..bbcfeeda3e8 100644 --- a/sql/thr_malloc.cc +++ b/sql/thr_malloc.cc @@ -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) |