1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-8716 - Obsolete sql_calloc() in favor of THD::calloc() and thd_calloc()

This commit is contained in:
Sergey Vojtovich
2015-11-18 23:54:01 +04:00
parent 0746a07708
commit 753d1f868c
10 changed files with 66 additions and 70 deletions

View File

@ -75,15 +75,6 @@ void *sql_alloc(size_t Size)
#endif
void *sql_calloc(size_t size)
{
void *ptr;
if ((ptr=sql_alloc(size)))
bzero(ptr,size);
return ptr;
}
char *sql_strmake_with_convert(const char *str, size_t arg_length,
CHARSET_INFO *from_cs,
size_t max_res_length,