summaryrefslogtreecommitdiff
path: root/include/violite.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
commit1b9b2c3091fc580bff82ca0630221eabd5628d6c (patch)
tree36d57cc3236865b15adff6a4d9784a9ddd977aa6 /include/violite.h
parent65508b65ba04d499f900259d52d6b16be871ef4a (diff)
downloadmariadb-git-1b9b2c3091fc580bff82ca0630221eabd5628d6c.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 'include/violite.h')
-rw-r--r--include/violite.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/violite.h b/include/violite.h
index 6c8ad1f4b69..f99bb521e23 100644
--- a/include/violite.h
+++ b/include/violite.h
@@ -95,7 +95,7 @@ my_socket vio_fd(Vio*vio);
/*
* Remote peer's address and name in text form.
*/
-my_bool vio_peer_addr(Vio* vio, char *buf);
+my_bool vio_peer_addr(Vio* vio, char *buf, u_int16_t *port);
/* Remotes in_addr */
@@ -119,7 +119,7 @@ my_bool vio_poll_read(Vio *vio,uint timeout);
#define vio_keepalive(vio, set_keep_alive) (vio)->viokeepalive(vio, set_keep_alive)
#define vio_should_retry(vio) (vio)->should_retry(vio)
#define vio_close(vio) ((vio)->vioclose)(vio)
-#define vio_peer_addr(vio, buf) (vio)->peer_addr(vio, buf)
+#define vio_peer_addr(vio, buf, prt) (vio)->peer_addr(vio, buf, prt)
#define vio_in_addr(vio, in) (vio)->in_addr(vio, in)
#endif /* defined(HAVE_VIO) && !defined(DONT_MAP_VIO) */