summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2003-02-28 21:17:44 +0200
committerunknown <bell@sanja.is.com.ua>2003-02-28 21:17:44 +0200
commitc56f268ffecde0f5867b1fc66fd72ab56d800d3b (patch)
tree7a929bedd9120f5bfff80f31a98334f9b73aeadc
parentb94e413f8d22dfb0ce5af84ec25ab25db6504f3e (diff)
downloadmariadb-git-c56f268ffecde0f5867b1fc66fd72ab56d800d3b.tar.gz
used correct function (SCRUM)
sql/sql_show.cc: used correct function
-rw-r--r--sql/sql_show.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index 62977ab5fb2..95197ecfc4b 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -1063,8 +1063,8 @@ void mysqld_list_processes(THD *thd,const char *user, bool verbose)
if (tmp->peer_port && (tmp->host || tmp->ip))
{
if ((thd_info->host= thd->alloc(LIST_PROCESS_HOST_LEN+1)))
- snprintf((char *) thd_info->host, LIST_PROCESS_HOST_LEN, "%s:%u",
- thd->host_or_ip, tmp->peer_port);
+ my_snprintf((char *) thd_info->host, LIST_PROCESS_HOST_LEN,
+ "%s:%u", thd->host_or_ip, tmp->peer_port);
}
else
thd_info->host= thd->strdup(thd->host_or_ip);