diff options
Diffstat (limited to 'sql/signal_handler.cc')
-rw-r--r-- | sql/signal_handler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/signal_handler.cc b/sql/signal_handler.cc index f233f8a3a82..e59a2ed6a58 100644 --- a/sql/signal_handler.cc +++ b/sql/signal_handler.cc @@ -188,7 +188,7 @@ extern "C" sig_handler handle_fatal_signal(int sig) (uint) thread_scheduler->max_threads + (uint) extra_max_connections); - my_safe_printf_stderr("thread_count=%u\n", (uint) thread_count); + my_safe_printf_stderr("thread_count=%u\n", THD_count::value()); if (dflt_key_cache && thread_scheduler) { |