mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Only install second master db if using second master
This commit is contained in:
@@ -2911,7 +2911,7 @@ sub mysql_install_db () {
|
|||||||
|
|
||||||
install_db('master', $master->[0]->{'path_myddir'});
|
install_db('master', $master->[0]->{'path_myddir'});
|
||||||
|
|
||||||
if ($max_master_num)
|
if ($max_master_num > 1)
|
||||||
{
|
{
|
||||||
copy_install_db('master', $master->[1]->{'path_myddir'});
|
copy_install_db('master', $master->[1]->{'path_myddir'});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user