1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +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:
Vladislav Vaintroub
2021-08-12 18:32:01 +02:00
parent 10db7fcfa6
commit 070183cfc0

View File

@ -35,7 +35,10 @@ public:
#ifdef _WIN32
HANDLE pipe;
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
enum enum_vio_type vio_type;
scheduler_functions *scheduler;