mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge with 4.0, mainly to get changes to windows project files
This commit is contained in:
@@ -167,13 +167,11 @@ int init_slave()
|
||||
goto err;
|
||||
}
|
||||
|
||||
/*
|
||||
make sure slave thread gets started if server_id is set,
|
||||
valid master.info is present, and master_host has not been specified
|
||||
*/
|
||||
if (server_id && !master_host && active_mi->host[0])
|
||||
master_host= active_mi->host;
|
||||
|
||||
/* If server id is not set, start_slave_thread() will say it */
|
||||
|
||||
if (master_host && !opt_skip_slave_start)
|
||||
{
|
||||
if (start_slave_threads(1 /* need mutex */,
|
||||
|
Reference in New Issue
Block a user