mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-8718 - Obsolete sql_strmake() in favor of THD::strmake() and thd_strmake()
This commit is contained in:
@ -84,18 +84,6 @@ void *sql_calloc(size_t size)
|
||||
}
|
||||
|
||||
|
||||
char *sql_strmake(const char *str, size_t len)
|
||||
{
|
||||
char *pos;
|
||||
if ((pos= (char*) sql_alloc(len+1)))
|
||||
{
|
||||
memcpy(pos,str,len);
|
||||
pos[len]=0;
|
||||
}
|
||||
return pos;
|
||||
}
|
||||
|
||||
|
||||
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