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