mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-05-03 01:00:39 +08:00
fixed PTDEBUG error on Cxn - 1394934
This commit is contained in:
@@ -1895,7 +1895,6 @@ sub is_cluster_node {
|
||||
my $sql = "SHOW VARIABLES LIKE 'wsrep\_on'";
|
||||
PTDEBUG && _d($cxn->name, $sql);
|
||||
my $row = $cxn->dbh->selectrow_arrayref($sql);
|
||||
PTDEBUG && _d(Dumper($row));
|
||||
return $row && $row->[1] && ($row->[1] eq 'ON' || $row->[1] eq '1') ? 1 : 0;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user