1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-29 00:08:14 +03:00

Fixed pthread_cond_timedwait() for HPUX and DCE threads

Cleanup of LIBWRAP handling
This commit is contained in:
monty@tik.mysql.fi
2002-04-16 16:29:14 +03:00
parent abb3e50199
commit c0d9954cc7
6 changed files with 61 additions and 35 deletions

View File

@@ -530,7 +530,7 @@ pthread_handler_decl(handle_one_connection,arg)
if ((error=check_connections(thd)))
{ // Wrong permissions
if (error > 0)
net_printf(net,error,thd->host ? thd->host : thd->ip);
net_printf(net,error,thd->host ? thd->host : (thd->ip ? thd->ip : ""));
#ifdef __NT__
if (vio_type(net->vio) == VIO_TYPE_NAMEDPIPE)
sleep(1); /* must wait after eof() */