diff options
author | Monty <monty@mariadb.org> | 2016-02-01 12:48:29 +0200 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2016-02-07 10:34:03 +0200 |
commit | 70a4856df8c2af14e2d0a32b8d49bbd2bd2fc464 (patch) | |
tree | 6107839e6e1cf670274f0316cc6b6dd7e23058bd /sql/signal_handler.cc | |
parent | 3d4a7390c1a94ef6e07b04b52ea94a95878cda1b (diff) | |
download | mariadb-git-70a4856df8c2af14e2d0a32b8d49bbd2bd2fc464.tar.gz |
We can't call set_server_version() in signal handler as it's not callable after
server has started (assert in sys_var::where get_sys_var_value_origin())
Diffstat (limited to 'sql/signal_handler.cc')
-rw-r--r-- | sql/signal_handler.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/signal_handler.cc b/sql/signal_handler.cc index 4490aae6b62..7151d489c1a 100644 --- a/sql/signal_handler.cc +++ b/sql/signal_handler.cc @@ -107,7 +107,6 @@ extern "C" sig_handler handle_fatal_signal(int sig) "diagnose the problem, but since we have already crashed, \n" "something is definitely wrong and this may fail.\n\n"); - set_server_version(); my_safe_printf_stderr("Server version: %s\n", server_version); if (dflt_key_cache) |