From: Frédéric Buclin Date: Sun, 19 Aug 2012 14:27:30 +0000 (+0200) Subject: Bug 783879: Sub-optimal SQL query when displaying tags in buglists X-Git-Tag: bugzilla-4.3.3~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9e534a4811d5e0c6c15ad89a1aa67b11afde463;p=thirdparty%2Fbugzilla.git Bug 783879: Sub-optimal SQL query when displaying tags in buglists r=wicked a=LpSolit --- diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 1fae1920d2..aaa3c208b5 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -545,7 +545,7 @@ sub COLUMNS { 'longdescs.count' => 'COUNT(DISTINCT map_longdescs_count.comment_id)', - tag => $dbh->sql_group_concat('DISTINCT ' . $dbh->sql_string_concat('map_tag.name')), + tag => $dbh->sql_group_concat('DISTINCT map_tag.name'), ); # Backward-compatibility for old field names. Goes new_name => old_name.