summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2020-08-03 13:23:38 +0200
committerVladislav Vaintroub <wlad@mariadb.com>2020-08-03 13:23:38 +0200
commitccb9f673b48ffa17103e628f34804ee1f2748b37 (patch)
treee45772806c6ffe0d7a915c09d9a31c9d7777ec8f /include
parent4d41f316c3c1c05fdd35cbdc1b626d596b89af40 (diff)
downloadmariadb-git-ccb9f673b48ffa17103e628f34804ee1f2748b37.tar.gz
MDEV-23348 vio_shutdown does not prevent later ReadFile on named pipe
Introduce st_vio::shutdown_flag to be checked prior to Read/WriteFile and during wait for async.io to finish.
Diffstat (limited to 'include')
-rw-r--r--include/violite.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/violite.h b/include/violite.h
index 5bc6359b153..bb3fd8f6b6c 100644
--- a/include/violite.h
+++ b/include/violite.h
@@ -281,6 +281,7 @@ struct st_vio
OVERLAPPED overlapped;
DWORD read_timeout_ms;
DWORD write_timeout_ms;
+ int shutdown_flag;
#endif
};
#endif /* vio_violite_h_ */