From: Don Armstrong Date: Thu, 10 Aug 2017 00:50:26 +0000 (-0700) Subject: id is the column in bug which has the bug number, not id X-Git-Url: https://git.donarmstrong.com/debbugs.git?a=commitdiff_plain;h=781dc48724abfa2c0cc554f4ba34d8e6c3765f99;p=debbugs.git id is the column in bug which has the bug number, not id --- diff --git a/bin/debbugs-loadsql b/bin/debbugs-loadsql index ebf217a..9597447 100755 --- a/bin/debbugs-loadsql +++ b/bin/debbugs-loadsql @@ -561,8 +561,10 @@ sub add_logs { next; } if ($options{quick}) { - my $rs = $s->resultset('Bug')->search({bug=>$bug})->single(); - next if defined $rs and $stat->mtime <= $rs->last_modified()->epoch(); + my $rs = $s->resultset('Bug')-> + search({id=>$bug})->single(); + next if defined $rs and + $stat->mtime <= $rs->last_modified()->epoch(); } eval { load_bug_log(db => $s,