summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <kostja@bodhi.(none)>2008-04-19 15:46:34 +0400
committerunknown <kostja@bodhi.(none)>2008-04-19 15:46:34 +0400
commit59a91d0ebfa9c7dce951f502b2f0f5118624a355 (patch)
tree80db290964508c8a01acf76cbfa4507c50cae0cb
parentfd8253afbbaa4e17a274ca9270559820e1536815 (diff)
parent2cf97bdbd8ffe3f0e3b045bba60a57fc88c6029a (diff)
downloadmariadb-git-59a91d0ebfa9c7dce951f502b2f0f5118624a355.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime
into bodhi.(none):/opt/local/work/mysql-5.1-27430 sql/mysqld.cc: Auto merged
-rw-r--r--sql/mysqld.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index 37e112acd0c..b13fb8dab48 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -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);
}