Commit cae01871 authored by kostja@bodhi.(none)'s avatar kostja@bodhi.(none)

Fix a Windows + embedded library build

parent 2e4da966
...@@ -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