Commit b05ee14d authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

MDEV-16277 - fix tcp_nodelay test.

Do not attempt to set TCP_NODELAY on Unix domain socket.
parent 077e590b
......@@ -442,7 +442,8 @@ int vio_nodelay(Vio *vio, my_bool on)
int no_delay= MY_TEST(on);
DBUG_ENTER("vio_nodelay");
if (vio->type == VIO_TYPE_NAMEDPIPE || vio->type == VIO_TYPE_SHARED_MEMORY)
if (vio->type == VIO_TYPE_NAMEDPIPE || vio->type == VIO_TYPE_SHARED_MEMORY
|| vio->type == VIO_TYPE_SOCKET)
{
DBUG_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