diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2018-10-05 09:36:02 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2018-10-05 09:36:02 +0100 |
commit | 98473a83997469a3c198c6cad9c48f7a9d82887d (patch) | |
tree | 8b088bfcc2b4888aa00b2dcbd8d35f86b6c108e5 /vio | |
parent | 8f329e8d37e08c28d4e39d5c87ea22300285d9cd (diff) | |
download | mariadb-git-98473a83997469a3c198c6cad9c48f7a9d82887d.tar.gz |
Small refactoring in vio.
- remove function prototype for shared memory (no more used), and VIO
members that are unused
- Do not call DisconnectNamedPipe on pipe handle. CloseHandle() is enough.
Diffstat (limited to 'vio')
-rw-r--r-- | vio/viopipe.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/vio/viopipe.c b/vio/viopipe.c index d3447a95c6e..0a3deb91262 100644 --- a/vio/viopipe.c +++ b/vio/viopipe.c @@ -131,7 +131,6 @@ int vio_close_pipe(Vio *vio) CancelIo(vio->hPipe); CloseHandle(vio->overlapped.hEvent); - DisconnectNamedPipe(vio->hPipe); ret= CloseHandle(vio->hPipe); vio->type= VIO_CLOSED; |