Commit d0ca2415 authored by Jan Lindström's avatar Jan Lindström

MDEV-25472 : Server crashes when wsrep_cluster_address set to unkown address...

MDEV-25472 : Server crashes when wsrep_cluster_address set to unkown address and wsrep_slave_threads to 0

Return failure if we are not connected when slave threads are set
parent 89c870b2
...@@ -587,9 +587,8 @@ bool wsrep_create_appliers(long threads, bool thread_count_lock) ...@@ -587,9 +587,8 @@ bool wsrep_create_appliers(long threads, bool thread_count_lock)
{ {
WSREP_ERROR("Trying to launch slave threads before creating " WSREP_ERROR("Trying to launch slave threads before creating "
"connection at '%s'", wsrep_cluster_address); "connection at '%s'", wsrep_cluster_address);
assert(0);
} }
return false; return true;
} }
long wsrep_threads= 0; long wsrep_threads= 0;
......
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