summaryrefslogtreecommitdiff
path: root/vio
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2005-02-15 14:49:52 +0200
committerunknown <monty@mysql.com>2005-02-15 14:49:52 +0200
commite1099fac1f9d409ad767f0a2cd02ca93f5ddd209 (patch)
treed17979f01b48c5b27e4b6a6b13071213c395f3f3 /vio
parent1d633f645a7c2c8186a5b605dc1bcaf95787cc7a (diff)
parent358cfd6c4220d3d1d1f596f6313fcba1819ff1a6 (diff)
downloadmariadb-git-e1099fac1f9d409ad767f0a2cd02ca93f5ddd209.tar.gz
Merge with 4.0
vio/viosocket.c: Auto merged mysql-test/t/group_by.test: Use local file sql/sql_parse.cc: Merge with 4.0 to get bug fix for reconnect problem
Diffstat (limited to 'vio')
-rw-r--r--vio/viosocket.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/vio/viosocket.c b/vio/viosocket.c
index fee97daa943..77922594469 100644
--- a/vio/viosocket.c
+++ b/vio/viosocket.c
@@ -272,6 +272,18 @@ my_bool vio_peer_addr(Vio * vio, char *buf, uint16 *port)
}
+/*
+ Get in_addr for a TCP/IP connection
+
+ SYNOPSIS
+ vio_in_addr()
+ vio vio handle
+ in put in_addr here
+
+ NOTES
+ one must call vio_peer_addr() before calling this one
+*/
+
void vio_in_addr(Vio *vio, struct in_addr *in)
{
DBUG_ENTER("vio_in_addr");