summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2003-02-17 22:07:26 +0200
committerunknown <bell@sanja.is.com.ua>2003-02-17 22:07:26 +0200
commit0636da16bf6eaf72b84b9f2a99f173401ac4cbed (patch)
tree36d57cc3236865b15adff6a4d9784a9ddd977aa6 /sql/sql_class.h
parent94a5341b22144e27ae568aa590fc7f6abde28b19 (diff)
downloadmariadb-git-0636da16bf6eaf72b84b9f2a99f173401ac4cbed.tar.gz
client port number added to SHOW PROCESSLIST (SCRUM?)
include/violite.h: port added to reported parameters libmysqld/lib_vio.c: port added to reported parameters sql/sql_class.h: port added to reported parameters sql/sql_parse.cc: port added to reported parameters sql/sql_show.cc: SHOW PROCESSLIST will report port number if it is possible vio/viosocket.c: port added to reported parameters
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 802052d553a..da341c64d50 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -350,8 +350,9 @@ public:
db - currently selected database
ip - client IP
*/
-
char *host,*user,*priv_user,*db,*ip;
+ /* remote (peer) port */
+ u_int16_t peer_port;
/* Points to info-string that will show in SHOW PROCESSLIST */
const char *proc_info;
/* points to host if host is available, otherwise points to ip */