mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-01 18:25:59 +00:00
Don't crash if group by attrib is empty string.
This commit is contained in:
@@ -764,7 +764,7 @@ sub _calc_metrics {
|
||||
sub metrics {
|
||||
my ( $self, %args ) = @_;
|
||||
foreach my $arg ( qw(attrib where) ) {
|
||||
die "I need a $arg argument" unless $args{$arg};
|
||||
die "I need a $arg argument" unless defined $args{$arg};
|
||||
}
|
||||
my $attrib = $args{attrib};
|
||||
my $where = $args{where};
|
||||
|
Reference in New Issue
Block a user