Bug #189 Wrong host name/port displayed for DELAYED thread
| Submitted: | 25 Mar 2003 4:48 | Modified: | 26 Mar 2003 12:35 |
|---|---|---|---|
| Reporter: | jocelyn fournier (Silver Quality Contributor) | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server | Severity: | S3 (Non-critical) |
| Version: | 4.0.12 / 4.0.13 bk tree | OS: | Any (ALL) |
| Assigned to: | Oleksandr Byelkin | CPU Architecture: | Any |
[25 Mar 2003 4:48]
jocelyn fournier
[26 Mar 2003 12:35]
Oleksandr Byelkin
--- 1.103/sql/sql_show.cc Wed Mar 19 21:43:40 2003
+++ 1.104/sql/sql_show.cc Wed Mar 26 22:04:14 2003
@@ -1060,7 +1060,7 @@
thd_info->user=thd->strdup(tmp->user ? tmp->user :
(tmp->system_thread ?
"system user" : "unauthenticated user"));
- if (tmp->peer_port && (tmp->host || tmp->ip))
+ if (tmp->peer_port && (tmp->host || tmp->ip) &&
thd->host_or_ip[0])
{
if ((thd_info->host=
thd->alloc(LIST_PROCESS_HOST_LEN+1)))
my_snprintf((char *) thd_info->host,
LIST_PROCESS_HOST_LEN,
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.049 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.