diff --git a/sql/mysqld.cc b/sql/mysqld.cc index ce53cd22669..7d12c66e7e5 100644 --- a/sql/mysqld.cc +++ b/sql/mysqld.cc @@ -599,7 +599,9 @@ pthread_mutex_t LOCK_server_started; pthread_cond_t COND_server_started; int mysqld_server_started= 0; +#ifndef EMBEDDED_LIBRARY static uint thr_kill_signal; +#endif File_parser_dummy_hook file_parser_dummy_hook; diff --git a/sql/stacktrace.c b/sql/stacktrace.c index 0dbf4522a71..078f62c6b2b 100644 --- a/sql/stacktrace.c +++ b/sql/stacktrace.c @@ -53,8 +53,6 @@ void safe_print_str(const char* name, const char* val, int max_len) #define SIGRETURN_FRAME_OFFSET 23 #endif -static my_bool is_nptl; - #if defined(__alpha__) && defined(__GNUC__) /* The only way to backtrace without a symbol table on alpha