mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 21:19:59 +00:00
Fix for 996069: Incorrect RES.001 when using aggregate functions
This commit is contained in:
@@ -344,6 +344,7 @@ sub get_rules {
|
||||
# Skip non-columns -- NULL, digits, functions, variables
|
||||
my $cols = [
|
||||
grep { _looks_like_column($_->{col}) }
|
||||
grep { ! exists $_->{func} }
|
||||
@{$event->{query_struct}->{columns}}
|
||||
];
|
||||
# All SELECT cols must be in GROUP BY cols clause.
|
||||
|
Reference in New Issue
Block a user