mirror of
https://github.com/MariaDB/server.git
synced 2025-08-05 13:16:09 +03:00
Fix compilation error on FC4.
This commit is contained in:
@@ -133,6 +133,7 @@ void manager()
|
|||||||
{
|
{
|
||||||
int err_code;
|
int err_code;
|
||||||
const char *err_msg;
|
const char *err_msg;
|
||||||
|
bool shutdown_complete= FALSE;
|
||||||
|
|
||||||
Thread_registry thread_registry;
|
Thread_registry thread_registry;
|
||||||
/*
|
/*
|
||||||
@@ -243,11 +244,8 @@ void manager()
|
|||||||
To work nicely with LinuxThreads, the signal thread is the first thread
|
To work nicely with LinuxThreads, the signal thread is the first thread
|
||||||
in the process.
|
in the process.
|
||||||
*/
|
*/
|
||||||
int signo;
|
|
||||||
bool shutdown_complete;
|
|
||||||
|
|
||||||
shutdown_complete= FALSE;
|
|
||||||
|
|
||||||
|
{
|
||||||
instance_map.guardian->lock();
|
instance_map.guardian->lock();
|
||||||
instance_map.lock();
|
instance_map.lock();
|
||||||
|
|
||||||
@@ -263,6 +261,7 @@ void manager()
|
|||||||
"binary. Aborting.");
|
"binary. Aborting.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
After the list of guarded instances have been initialized,
|
After the list of guarded instances have been initialized,
|
||||||
@@ -272,6 +271,7 @@ void manager()
|
|||||||
|
|
||||||
while (!shutdown_complete)
|
while (!shutdown_complete)
|
||||||
{
|
{
|
||||||
|
int signo;
|
||||||
int status= 0;
|
int status= 0;
|
||||||
|
|
||||||
if ((status= my_sigwait(&mask, &signo)) != 0)
|
if ((status= my_sigwait(&mask, &signo)) != 0)
|
||||||
|
Reference in New Issue
Block a user