MDEV-16277 - fix tcp_nodelay test.
Do not attempt to set TCP_NODELAY on Unix domain socket.
This commit is contained in:
parent
077e590bbc
commit
b05ee14d95
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user