mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-05-03 01:00:39 +08:00
minor style change
This commit is contained in:
@@ -1896,9 +1896,8 @@ sub is_cluster_node {
|
||||
PTDEBUG && _d($cxn->name, $sql);
|
||||
my $row = $cxn->dbh->selectrow_arrayref($sql);
|
||||
PTDEBUG && _d(Dumper($row));
|
||||
return unless $row && $row->[1] && ($row->[1] eq 'ON' || $row->[1] eq '1');
|
||||
return $row && $row->[1] && ($row->[1] eq 'ON' || $row->[1] eq '1') ? 1 : 0;
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
sub remove_duplicate_cxns {
|
||||
|
||||
Reference in New Issue
Block a user