Fix build failures.

This commit is contained in:
Kristian Nielsen 2015-07-19 10:31:24 +02:00
parent 13dbb6fa9e
commit 7046788448

View file

@ -1901,11 +1901,13 @@ static void __cdecl kill_server(int sig_ptr)
}
#endif
#ifdef WITH_WSREP
/* Stop wsrep threads in case they are running. */
if (wsrep_running_threads > 0)
{
wsrep_stop_replication(NULL);
}
#endif
close_connections();
@ -5730,6 +5732,7 @@ int mysqld_main(int argc, char **argv)
}
#endif
#ifdef WITH_WSREP
// Recover and exit.
if (wsrep_recovery)
{
@ -5740,6 +5743,7 @@ int mysqld_main(int argc, char **argv)
sql_print_information("WSREP: disabled, skipping position recovery");
unireg_abort(0);
}
#endif
/*
init signals & alarm