1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fix a Windows + embedded library build

This commit is contained in:
unknown
2008-04-19 15:44:08 +04:00
parent bb9bec27eb
commit 2cf97bdbd8

View File

@ -1956,9 +1956,11 @@ static BOOL WINAPI console_event_handler( DWORD type )
between main thread doing initialization and CTRL-C thread doing
cleanup, which can result into crash.
*/
#ifndef EMBEDDED_LIBRARY
if(hEventShutdown)
kill_mysql();
else
#endif
sql_print_warning("CTRL-C ignored during startup");
DBUG_RETURN(TRUE);
}