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 253e8931a4
commit 833f244781
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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} = {