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

had isbuggroup set.
This commit is contained in:
terry%mozilla.org 1999-10-12 16:52:25 +00:00
Родитель bc2eb782ee
Коммит 9716d1f959
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

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