mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 05:29:30 +00:00
Add func to col ident struct to fix QueryAdvisorRules.t.
This commit is contained in:
@@ -251,7 +251,7 @@ sub get_rules {
|
||||
my $cols = $event->{query_struct}->{columns};
|
||||
return unless $cols;
|
||||
foreach my $col ( @$cols ) {
|
||||
return 0 if $col->{col} eq '*';
|
||||
return 0 if $col->{col} eq '*' && !$col->{func};
|
||||
}
|
||||
return;
|
||||
},
|
||||
|
Reference in New Issue
Block a user