diff options
author | Alexander Nozdrin <alexander.nozdrin@oracle.com> | 2011-04-08 14:23:36 +0400 |
---|---|---|
committer | Alexander Nozdrin <alexander.nozdrin@oracle.com> | 2011-04-08 14:23:36 +0400 |
commit | 31e7450c608e38479b41da8e4e0fc7dad5d4246f (patch) | |
tree | 9a31e755274165f13c43c7199d63beb42ba0ce1f /include/sql_common.h | |
parent | b2fee393b029e5e2ec7c0a3161d665dad9fa720f (diff) | |
download | mariadb-git-31e7450c608e38479b41da8e4e0fc7dad5d4246f.tar.gz |
A patch for Bug#12325375: THE SERVER ON WINXP DOES NOT ALLOW CONNECTIONS
IF NO DNS-SERVER AVAILABLE.
The thing is that on Windows XP getnameinfo() returns WSANO_DATA
when hostname-lookup is not available. The problem was that
this error code was treated as serious error and the client
connection got rejected.
The fix is to treat all errors from getnameinfo() as not ciritical,
but add IP-address to the host cache only for EAI_NONAME (or WSANO_DATA).
Diffstat (limited to 'include/sql_common.h')
0 files changed, 0 insertions, 0 deletions