summaryrefslogtreecommitdiff
path: root/vio
diff options
context:
space:
mode:
authorVladislav Vaintroub <vvaintroub@mysql.com>2009-12-11 21:17:17 +0100
committerVladislav Vaintroub <vvaintroub@mysql.com>2009-12-11 21:17:17 +0100
commita6f6932e26f74557f674bc848271ed6a28de5bb6 (patch)
tree907faecbe376506fb024d3a5c49d8db9a6cb1737 /vio
parent3a6b75949c44709fec9841a3b216dec2f46826e1 (diff)
parent376cf4275f28f6b8167eaf19b2c66dee41fbc5c5 (diff)
downloadmariadb-git-a6f6932e26f74557f674bc848271ed6a28de5bb6.tar.gz
merge
Diffstat (limited to 'vio')
-rw-r--r--vio/viosocket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vio/viosocket.c b/vio/viosocket.c
index 8dcf978f2fa..fb272a430b9 100644
--- a/vio/viosocket.c
+++ b/vio/viosocket.c
@@ -800,6 +800,7 @@ int vio_close_pipe(Vio * vio)
int r;
DBUG_ENTER("vio_close_pipe");
+ CancelIo(vio->hPipe);
CloseHandle(vio->pipe_overlapped.hEvent);
DisconnectNamedPipe(vio->hPipe);
r= CloseHandle(vio->hPipe);