diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2015-11-18 19:21:30 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2015-11-26 11:34:15 +0400 |
commit | 13af8650a82f9452d36fe001c42b0b2c794f98d4 (patch) | |
tree | 5eb95393697e5346e541a7018e143b77d6d48146 /sql/thr_malloc.cc | |
parent | 55e67c3e344317c6f349f5391e5d117ec51ae062 (diff) | |
download | mariadb-git-13af8650a82f9452d36fe001c42b0b2c794f98d4.tar.gz |
MDEV-8719 - Obsolete sql_memdup() in favor of THD::memdup() and thd_memdup()
Diffstat (limited to 'sql/thr_malloc.cc')
-rw-r--r-- | sql/thr_malloc.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sql/thr_malloc.cc b/sql/thr_malloc.cc index b82d29e51f4..4468de69542 100644 --- a/sql/thr_malloc.cc +++ b/sql/thr_malloc.cc @@ -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, |