]> git.donarmstrong.com Git - debbugs.git/commitdiff
only update the @bugs_to_update
authorDon Armstrong <don@donarmstrong.com>
Mon, 7 Aug 2017 17:27:30 +0000 (10:27 -0700)
committerDon Armstrong <don@donarmstrong.com>
Mon, 7 Aug 2017 17:27:30 +0000 (10:27 -0700)
bin/debbugs-loadsql

index f37a8ef6fea4d91963c1072cf0e881827f5d8244..c583af03a44c8526a1965b5a5eb2aa56d67a9073 100755 (executable)
@@ -307,7 +307,7 @@ sub add_bugs {
                }
                eval {
                  $s->txn_do(sub {
-                              for my $bug (@bugs) {
+                              for my $bug (@bugs_to_update) {
                                 load_bug(db => $s,
                                          bug => $bug,
                                          tags => \%tags,