1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-8719 - Obsolete sql_memdup() in favor of THD::memdup() and thd_memdup()

This commit is contained in:
Sergey Vojtovich
2015-11-18 19:21:30 +04:00
parent 55e67c3e34
commit 13af8650a8
6 changed files with 6 additions and 17 deletions

View File

@ -106,15 +106,6 @@ char *sql_strmake(const char *str, size_t len)
}
void* sql_memdup(const void *ptr, size_t len)
{
void *pos;
if ((pos= sql_alloc(len)))
memcpy(pos,ptr,len);
return pos;
}
char *sql_strmake_with_convert(const char *str, size_t arg_length,
CHARSET_INFO *from_cs,
size_t max_res_length,