Commit 070183cf authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

MDEV-26325 Shutdown hangs whenever named pipes were used for connections.

This was a regression introduced in MDEV-18353, where to CONNECT objects
were incorrectly counted for named pipes.
parent 10db7fcf
...@@ -35,7 +35,10 @@ class CONNECT : public ilink { ...@@ -35,7 +35,10 @@ class CONNECT : public ilink {
#ifdef _WIN32 #ifdef _WIN32
HANDLE pipe; HANDLE pipe;
CONNECT(HANDLE pipe_arg): pipe(pipe_arg), vio_type(VIO_TYPE_NAMEDPIPE), CONNECT(HANDLE pipe_arg): pipe(pipe_arg), vio_type(VIO_TYPE_NAMEDPIPE),
scheduler(thread_scheduler), thread_id(0), prior_thr_create_utime(0) {} scheduler(thread_scheduler), thread_id(0), prior_thr_create_utime(0)
{
count++;
}
#endif #endif
enum enum_vio_type vio_type; enum enum_vio_type vio_type;
scheduler_functions *scheduler; scheduler_functions *scheduler;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment