mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 05:29:30 +00:00
Silence warnings from lib/QueryAdvisorRules.pm
This commit is contained in:
@@ -189,7 +189,7 @@ sub get_rules {
|
||||
foreach my $pred ( @$where ) {
|
||||
my $val = $pred->{right_arg};
|
||||
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;
|
||||
},
|
||||
|
Reference in New Issue
Block a user