1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Fix for rpl000015 that fails if $MYSQL_TCP_PORT is set. The default value for

master_port after a "change master" will be set to the compiled in default value
i.e not always the same as what the master report as it's port number.
This commit is contained in:
msvensson@neptunus.(none)
2006-11-27 19:56:04 +01:00
parent d4d675a6e2
commit 76b8b450d6
3 changed files with 3 additions and 2 deletions

View File

@ -1668,6 +1668,7 @@ sub environment_setup () {
$ENV{'SLAVE_MYPORT1'}= $slave->[1]->{'port'};
$ENV{'SLAVE_MYPORT2'}= $slave->[2]->{'port'};
$ENV{'MYSQL_TCP_PORT'}= $mysqld_variables{'port'};
$ENV{'DEFAULT_MASTER_PORT'}= $mysqld_variables{'master-port'};
$ENV{'IM_PATH_SOCK'}= $instance_manager->{path_sock};
$ENV{'IM_USERNAME'}= $instance_manager->{admin_login};