diff options
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r-- | Bugzilla/DB/Mysql.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Bugzilla/DB/Mysql.pm b/Bugzilla/DB/Mysql.pm index 582df3d54..25ee32b64 100644 --- a/Bugzilla/DB/Mysql.pm +++ b/Bugzilla/DB/Mysql.pm @@ -190,10 +190,10 @@ sub sql_position { sub sql_group_by { my ($self, $needed_columns, $optional_columns) = @_; - # MySQL allows to specify all columns as ANSI SQL requires, but also - # allow you to specify just minimal subset to get unique result. - # According to MySQL documentation, the less columns you specify - # the faster the query runs. + # MySQL allows you to specify the minimal subset of columns to get + # a unique result. While it does allow specifying all columns as + # ANSI SQL requires, according to MySQL documentation, the fewer + # columns you specify, the faster the query runs. return "GROUP BY $needed_columns"; } |