Commit 2cf97bdb authored by unknown's avatar unknown

Fix a Windows + embedded library build

parent bb9bec27
...@@ -1956,9 +1956,11 @@ static BOOL WINAPI console_event_handler( DWORD type ) ...@@ -1956,9 +1956,11 @@ static BOOL WINAPI console_event_handler( DWORD type )
between main thread doing initialization and CTRL-C thread doing between main thread doing initialization and CTRL-C thread doing
cleanup, which can result into crash. cleanup, which can result into crash.
*/ */
#ifndef EMBEDDED_LIBRARY
if(hEventShutdown) if(hEventShutdown)
kill_mysql(); kill_mysql();
else else
#endif
sql_print_warning("CTRL-C ignored during startup"); sql_print_warning("CTRL-C ignored during startup");
DBUG_RETURN(TRUE); DBUG_RETURN(TRUE);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment