mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 13:40:07 +00:00
Silence warnings from lib/QueryAdvisorRules.pm
This commit is contained in:
@@ -189,7 +189,7 @@ sub get_rules {
|
|||||||
foreach my $pred ( @$where ) {
|
foreach my $pred ( @$where ) {
|
||||||
my $val = $pred->{right_arg};
|
my $val = $pred->{right_arg};
|
||||||
next unless $val;
|
next unless $val;
|
||||||
return 0 if $val =~ m/^\d+$/ && $orderby_col{lc $pred->{left_arg}};
|
return 0 if $val =~ m/^\d+$/ && $orderby_col{lc($pred->{left_arg} || '')};
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user