mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
Remove variables redefined and variable shutdown_event_name fix
This commit is contained in:
parent
9bcf469140
commit
558ee89e7a
1 changed files with 1 additions and 2 deletions
|
@ -184,7 +184,6 @@ static uint handler_count;
|
|||
static bool opt_enable_named_pipe = 0;
|
||||
#endif
|
||||
#ifdef __WIN__
|
||||
static bool opt_console=0,start_mode=0;
|
||||
static pthread_cond_t COND_handler_count;
|
||||
static uint handler_count;
|
||||
static bool opt_console=0, start_mode=0, use_opt_args;
|
||||
|
@ -2160,7 +2159,7 @@ The server will not act as a slave.");
|
|||
(void) thr_setconcurrency(concurrency); // 10 by default
|
||||
#if defined(__WIN__) && !defined(EMBEDDED_LIBRARY) //IRENA
|
||||
{
|
||||
hEventShutdown=CreateEvent(0, FALSE, FALSE, event_name);
|
||||
hEventShutdown=CreateEvent(0, FALSE, FALSE, shutdown_event_name);
|
||||
pthread_t hThread;
|
||||
if (pthread_create(&hThread,&connection_attrib,handle_shutdown,0))
|
||||
sql_print_error("Warning: Can't create thread to handle shutdown requests");
|
||||
|
|
Loading…
Reference in a new issue