mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-26 05:58:16 +00:00
Update MasterSlave.pm in all tools.
This commit is contained in:
@@ -4056,7 +4056,7 @@ sub is_replication_thread {
|
||||
my ( $self, $query, %args ) = @_;
|
||||
return unless $query;
|
||||
|
||||
my $type = lc $args{type} || 'all';
|
||||
my $type = lc($args{type} || 'all');
|
||||
die "Invalid type: $type"
|
||||
unless $type =~ m/^binlog_dump|slave_io|slave_sql|all$/i;
|
||||
|
||||
|
Reference in New Issue
Block a user