diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2017-08-30 14:37:16 +0000 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2017-08-30 14:37:16 +0000 |
commit | 91826970c5e5335b9446c4aec8c1369ab97e45a9 (patch) | |
tree | 961493234799fa850a552e4b426e785cca1a5b54 /sql/signal_handler.cc | |
parent | d20fa485992067d0dd8d43ea5e3df02a1777eefb (diff) | |
download | mariadb-git-91826970c5e5335b9446c4aec8c1369ab97e45a9.tar.gz |
Fix threadpool to report connections aborted due to wait timeout.
Update wait_timeout.test to add test case for this.
Diffstat (limited to 'sql/signal_handler.cc')
-rw-r--r-- | sql/signal_handler.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/signal_handler.cc b/sql/signal_handler.cc index efcc9a3f0b2..6e21d6249ab 100644 --- a/sql/signal_handler.cc +++ b/sql/signal_handler.cc @@ -204,6 +204,10 @@ extern "C" sig_handler handle_fatal_signal(int sig) case KILL_SLAVE_SAME_ID: kreason= "KILL_SLAVE_SAME_ID"; break; + case KILL_WAIT_TIMEOUT: + case KILL_WAIT_TIMEOUT_HARD: + kreason= "KILL_WAIT_TIMEOUT"; + break; } my_safe_printf_stderr("%s", "\n" "Trying to get some variables.\n" |