Skip to content

Commit 70a4856

Browse files
committed
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())
1 parent 3d4a739 commit 70a4856

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sql/signal_handler.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ extern "C" sig_handler handle_fatal_signal(int sig)
107107
"diagnose the problem, but since we have already crashed, \n"
108108
"something is definitely wrong and this may fail.\n\n");
109109

110-
set_server_version();
111110
my_safe_printf_stderr("Server version: %s\n", server_version);
112111

113112
if (dflt_key_cache)

0 commit comments

Comments
 (0)