Commit dbbe8310 authored by Sergei Golubchik's avatar Sergei Golubchik

don't skip wsrep position recovery silently

control scripts (mysqld_safe for example) want to know
whether a recovery was successful or not.
total silence is too suspicious to be trusted.
parent aa4ad1c6
......@@ -5624,7 +5624,10 @@ int mysqld_main(int argc, char **argv)
if (wsrep_recovery)
{
select_thread_in_use= 0;
if (WSREP_ON) wsrep_recover();
if (WSREP_ON)
wsrep_recover();
else
sql_print_information("WSREP: disabled, skipping position recovery");
unireg_abort(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