mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Short fix for Windows.
server-tools/instance-manager/manager.cc: Make it compilable on Windows.
This commit is contained in:
@ -183,6 +183,7 @@ int Manager::main()
|
|||||||
bool shutdown_complete= FALSE;
|
bool shutdown_complete= FALSE;
|
||||||
pid_t manager_pid= getpid();
|
pid_t manager_pid= getpid();
|
||||||
|
|
||||||
|
#ifndef __WIN__
|
||||||
if (check_if_linux_threads(&linux_threads))
|
if (check_if_linux_threads(&linux_threads))
|
||||||
{
|
{
|
||||||
log_error("Can not determine thread model.");
|
log_error("Can not determine thread model.");
|
||||||
@ -191,6 +192,7 @@ int Manager::main()
|
|||||||
|
|
||||||
log_info("Detected threads model: %s.",
|
log_info("Detected threads model: %s.",
|
||||||
(const char *) (linux_threads ? "LINUX threads" : "POSIX threads"));
|
(const char *) (linux_threads ? "LINUX threads" : "POSIX threads"));
|
||||||
|
#endif // __WIN__
|
||||||
|
|
||||||
Thread_registry thread_registry;
|
Thread_registry thread_registry;
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user