mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
MDEV-6961: mysqld should terminate when started with --wsrep-recover
Fixed the condition to make sure mysqld process terminates when started with wsrep-recover.
This commit is contained in:
parent
f7708d6830
commit
5298e21c32
1 changed files with 3 additions and 2 deletions
|
@ -5620,10 +5620,11 @@ int mysqld_main(int argc, char **argv)
|
|||
}
|
||||
#endif
|
||||
|
||||
if (WSREP_ON && wsrep_recovery)
|
||||
// Recover and exit.
|
||||
if (wsrep_recovery)
|
||||
{
|
||||
select_thread_in_use= 0;
|
||||
wsrep_recover();
|
||||
if (WSREP_ON) wsrep_recover();
|
||||
unireg_abort(0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue