summaryrefslogtreecommitdiff
path: root/sql/thr_malloc.cc
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2015-11-18 23:54:01 +0400
committerSergey Vojtovich <svoj@mariadb.org>2015-11-26 11:34:16 +0400
commit753d1f868c0fd52c2ec44a97fe116c01a38d5ffd (patch)
tree15334b9db1e7dbba85c4486ec93c47f0dee59478 /sql/thr_malloc.cc
parent0746a0770867b621cb4fee08239419bec69a2de8 (diff)
downloadmariadb-git-753d1f868c0fd52c2ec44a97fe116c01a38d5ffd.tar.gz
MDEV-8716 - Obsolete sql_calloc() in favor of THD::calloc() and thd_calloc()
Diffstat (limited to 'sql/thr_malloc.cc')
-rw-r--r--sql/thr_malloc.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/sql/thr_malloc.cc b/sql/thr_malloc.cc
index 10fc5b83a1b..e722b5a21a5 100644
--- a/sql/thr_malloc.cc
+++ b/sql/thr_malloc.cc
@@ -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,