mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue