diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2017-03-22 01:48:22 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2017-03-22 01:48:22 +0400 |
commit | 92f18bdedeec3a3e8ea6f675d4e284fcb46af205 (patch) | |
tree | 5093ab203681d97ddf65723f1f8994b2ebe9be04 /sql/signal_handler.cc | |
parent | 1ca8637ae35061d2567728a1c7aede11e68e5fff (diff) | |
download | mariadb-git-92f18bdedeec3a3e8ea6f675d4e284fcb46af205.tar.gz |
MDEV-11177 mysqlbinlog exits silently without error when another
instance connects to server.
New thread kill status added KILL_SLAVE_SAME_ID, and the related
error message.
Diffstat (limited to 'sql/signal_handler.cc')
-rw-r--r-- | sql/signal_handler.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/signal_handler.cc b/sql/signal_handler.cc index dc90fcae576..efcc9a3f0b2 100644 --- a/sql/signal_handler.cc +++ b/sql/signal_handler.cc @@ -201,6 +201,9 @@ extern "C" sig_handler handle_fatal_signal(int sig) case ABORT_QUERY_HARD: kreason= "ABORT_QUERY"; break; + case KILL_SLAVE_SAME_ID: + kreason= "KILL_SLAVE_SAME_ID"; + break; } my_safe_printf_stderr("%s", "\n" "Trying to get some variables.\n" |