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:
@ -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,
|
||||
|
Reference in New Issue
Block a user