Commit b2429e20 authored by Teemu Ollakka's avatar Teemu Ollakka Committed by Julius Goryavsky

MDEV-34976 Server crash report broken if Galera is not loaded

The crash report terminates prematurely when Galera library was
not loaded.

As a fix, check whether the provider is loaded before shutting down
Galera connections.
Signed-off-by: default avatarJulius Goryavsky <julius.goryavsky@mariadb.com>
parent f7c5182b
......@@ -87,7 +87,7 @@ void Wsrep_server_state::destroy()
void Wsrep_server_state::handle_fatal_signal()
{
if (m_instance)
if (m_instance && m_instance->is_provider_loaded())
{
/* Galera background threads are still running and the logging may be
relatively verbose in case of networking error. Silence all wsrep
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment