summaryrefslogtreecommitdiff
path: root/vio/viosocket.c
diff options
context:
space:
mode:
authorjimw@mysql.com <>2005-08-31 15:04:25 -0700
committerjimw@mysql.com <>2005-08-31 15:04:25 -0700
commit89decf6aa9110638a94bfae90010450b7b60e5de (patch)
treec2a6b80c5a177d9fa84074517acf23b1b9dbcda6 /vio/viosocket.c
parent298af8ccb9c807bfd438cca55df4b0140d9f1d80 (diff)
downloadmariadb-git-89decf6aa9110638a94bfae90010450b7b60e5de.tar.gz
Fix shared memory connection handling on Windows. (Bug #12723)
Diffstat (limited to 'vio/viosocket.c')
-rw-r--r--vio/viosocket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vio/viosocket.c b/vio/viosocket.c
index c7561890ead..a73a0780bfa 100644
--- a/vio/viosocket.c
+++ b/vio/viosocket.c
@@ -99,7 +99,7 @@ int vio_blocking(Vio * vio __attribute__((unused)), my_bool set_blocking_mode,
#endif /* !defined(NO_FCNTL_NONBLOCK) */
#else /* !defined(__WIN__) && !defined(__EMX__) */
#ifndef __EMX__
- if (vio->type != VIO_TYPE_NAMEDPIPE)
+ if (vio->type != VIO_TYPE_NAMEDPIPE && vio->type != VIO_TYPE_SHARED_MEMORY)
#endif
{
ulong arg;