summaryrefslogtreecommitdiff
path: root/include/sql_common.h
diff options
context:
space:
mode:
authorAlexander Nozdrin <alexander.nozdrin@oracle.com>2011-04-08 14:23:36 +0400
committerAlexander Nozdrin <alexander.nozdrin@oracle.com>2011-04-08 14:23:36 +0400
commit31e7450c608e38479b41da8e4e0fc7dad5d4246f (patch)
tree9a31e755274165f13c43c7199d63beb42ba0ce1f /include/sql_common.h
parentb2fee393b029e5e2ec7c0a3161d665dad9fa720f (diff)
downloadmariadb-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