Commit 1f776a5a authored by unknown's avatar unknown

Fixes a problem with patch 1.2140, that prevented libmysqld

to be built successfully.


libmysqld/lib_vio.c:
  Added a copy of vio_was_interrupted() from viosocket.c, for successful build
  of libmysqld that uses own set of vio*() functions.
parent 39fe0e81
......@@ -181,6 +181,15 @@ vio_should_retry(Vio * vio __attribute__((unused)))
}
my_bool
vio_was_interrupted(Vio * vio __attribute__((unused)))
{
int en = socket_errno;
return (en == SOCKET_EAGAIN || en == SOCKET_EINTR ||
en == SOCKET_EWOULDBLOCK || en == SOCKET_ETIMEDOUT);
}
int vio_close(Vio * vio)
{
return(0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment