PT-1760 MasterSlave fix for rep channels

This commit is contained in:
Carlos Salguero
2019-10-15 18:45:43 -03:00
parent 605b97959c
commit 2b3217a77a
11 changed files with 91 additions and 12 deletions

View File

@@ -475,6 +475,9 @@ sub get_slave_status {
$ss = { map { lc($_) => $ss->{$_} } keys %$ss }; # lowercase the keys
return $ss;
}
if (!$ss && $self->{channel}) {
die "Specified channel name is invalid";
}
}
PTDEBUG && _d('This server returns nothing for SHOW SLAVE STATUS');