Commit a8c1b9f5 authored by terry%mozilla.org's avatar terry%mozilla.org

Patch by tom@platte.com (Tom Schutter) -- wasn't working if no groups

had isbuggroup set.
parent bbb9c02f
......@@ -87,6 +87,9 @@ while (my $bit = FetchOneColumn()) {
SendSQL("select sum(bit) from groups where isbuggroup != 0");
my $buggroupset = FetchOneColumn();
if ($buggroupset eq "") {
$buggroupset = 0;
}
SendSQL("select bug_id, groupset from bugs where groupset & $buggroupset != groupset");
while (@row = FetchSQLData()) {
Alert("Bad groupset $row[1] found in bug " . BugLink($row[0]));
......
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