Add func to col ident struct to fix QueryAdvisorRules.t.

This commit is contained in:
Daniel Nichter
2012-04-03 11:03:17 -06:00
parent dcec863988
commit c3b99d17a1
3 changed files with 8 additions and 3 deletions

View File

@@ -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;
},