Commit f9e534a4 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 783879: Sub-optimal SQL query when displaying tags in buglists

r=wicked a=LpSolit
parent 6f5acec2
...@@ -545,7 +545,7 @@ sub COLUMNS { ...@@ -545,7 +545,7 @@ sub COLUMNS {
'longdescs.count' => 'COUNT(DISTINCT map_longdescs_count.comment_id)', '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. # Backward-compatibility for old field names. Goes new_name => old_name.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment