mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
connect timeout bug fix
This commit is contained in:
@@ -175,6 +175,9 @@ static int connect2(my_socket s, const struct sockaddr *name, uint namelen,
|
|||||||
* implementations of select that don't adjust tv upon
|
* implementations of select that don't adjust tv upon
|
||||||
* failure to reflect the time remaining
|
* failure to reflect the time remaining
|
||||||
*/
|
*/
|
||||||
|
#ifdef HAVE_POLL
|
||||||
|
return(0);
|
||||||
|
#endif
|
||||||
start_time = time(NULL);
|
start_time = time(NULL);
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user