summaryrefslogtreecommitdiff
path: root/vio/viosocket.c
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-04-15 15:09:22 +0200
committerSergei Golubchik <sergii@pisem.net>2013-04-15 15:09:22 +0200
commita9035be5b7a7b3865ddb4ef34a5d0cfc65dfc254 (patch)
treea9df7341e91623f62fe37cd47fce139d8888fc95 /vio/viosocket.c
parent3a1c91d87d69ef243b3e78be6089102cafef0a8e (diff)
parentf57ecb7786177e0af3b1e3ec94302720b2e0f967 (diff)
downloadmariadb-git-a9035be5b7a7b3865ddb4ef34a5d0cfc65dfc254.tar.gz
10.0-base merge
Diffstat (limited to 'vio/viosocket.c')
-rw-r--r--vio/viosocket.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/vio/viosocket.c b/vio/viosocket.c
index e1319843e48..f84d7e802be 100644
--- a/vio/viosocket.c
+++ b/vio/viosocket.c
@@ -616,12 +616,6 @@ int vio_close(Vio *vio)
const char *vio_description(Vio * vio)
{
- if (!vio->desc[0])
- {
- my_snprintf(vio->desc, VIO_DESCRIPTION_SIZE,
- (vio->type == VIO_TYPE_SOCKET ? "socket (%d)" : "TCP/IP (%d)"),
- mysql_socket_getfd(vio->mysql_socket));
- }
return vio->desc;
}