mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
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.
This commit is contained in:
@ -35,7 +35,10 @@ public:
|
|||||||
#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;
|
||||||
|
Reference in New Issue
Block a user