summaryrefslogtreecommitdiff
path: root/sql-common
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2010-04-02 11:20:09 +0200
committerSergei Golubchik <sergii@pisem.net>2010-04-02 11:20:09 +0200
commit3b03f5d97e0f80da74cb0789f513ce0319fc9c8a (patch)
tree2655536b4631ad6a1894a274ff1da4ae9f408fb7 /sql-common
parentc7d173589c4e8f8332495228c6000f3fa0505e1e (diff)
downloadmariadb-git-3b03f5d97e0f80da74cb0789f513ce0319fc9c8a.tar.gz
fixes for windows builds
Diffstat (limited to 'sql-common')
-rw-r--r--sql-common/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql-common/client.c b/sql-common/client.c
index 447518c9e5d..18f01661c0a 100644
--- a/sql-common/client.c
+++ b/sql-common/client.c
@@ -2345,7 +2345,7 @@ void mpvio_info(Vio *vio, MYSQL_PLUGIN_VIO_INFO *info)
case VIO_TYPE_SSL:
{
struct sockaddr addr;
- socklen_t addrlen= sizeof(addr);
+ SOCKET_SIZE_TYPE addrlen= sizeof(addr);
if (getsockname(vio->sd, &addr, &addrlen))
return;
info->protocol= addr.sa_family == AF_UNIX ?
@@ -2360,7 +2360,7 @@ void mpvio_info(Vio *vio, MYSQL_PLUGIN_VIO_INFO *info)
return;
case VIO_TYPE_SHARED_MEMORY:
info->protocol= MYSQL_VIO_MEMORY;
- info->handle= vio->handle_client_file_map; /* or what ? */
+ info->handle= vio->handle_file_map; /* or what ? */
return;
#endif
default: DBUG_ASSERT(0);