break change: new mysql replication check (Fix #1151) (#2281)

This commit is contained in:
qgarnier 2020-10-22 15:05:59 +02:00 committed by GitHub
parent 5507c0633e
commit 39756c9f7b

View File

@ -255,7 +255,7 @@ sub check_master_slave_position {
});
my $master_result = $options{sql_master}->fetchrow_hashref();
$self->sql_query_show_slave_status(sql => $options{sql});
$self->sql_query_show_slave_status(sql => $options{sql_slave});
my $slave_result = $options{sql_slave}->fetchrow_hashref();
$self->{servers}->{ $options{name_slave} }->{position} = {