From: Don Armstrong Date: Sat, 15 Apr 2017 02:29:08 +0000 (-0700) Subject: the quick bug method was searching on bug not id X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=658dec24727e13a8305c45ad0a189b48c4b9c368;p=debbugs.git the quick bug method was searching on bug not id --- diff --git a/bin/debbugs-loadsql b/bin/debbugs-loadsql index 277ac2b5..b5d91187 100755 --- a/bin/debbugs-loadsql +++ b/bin/debbugs-loadsql @@ -298,7 +298,7 @@ sub add_bugs { print STDERR "Unable to stat $bug $!\n"; next; } - my $rs = $s->resultset('Bug')->search({bug=>$bug})->single(); + my $rs = $s->resultset('Bug')->search({id=>$bug})->single(); next if defined $rs and $stat->mtime < $rs->last_modified()->epoch(); push @bugs_to_update, $bug; }