]> git.donarmstrong.com Git - debbugs.git/commitdiff
hashrefinflator uses subhashes, not .
authorDon Armstrong <don@donarmstrong.com>
Mon, 7 Aug 2017 21:23:45 +0000 (14:23 -0700)
committerDon Armstrong <don@donarmstrong.com>
Mon, 7 Aug 2017 21:23:45 +0000 (14:23 -0700)
bin/debbugs-updatesqlcache

index d9450943aa7824163de6f59d3ae22107b41fa3d7..743e5fcef1d243874e96c0c7781193949f94716b 100755 (executable)
@@ -222,7 +222,7 @@ sub update_cache {
        # select all bugs which are in packages which have had a binary
        # association modified
        push @bugs,
-           map {$_->{'bug_binpackages.bug'}}
+           map {$_->{bug_binpackages}{bug}}}
            $s->resultset('BinAssociation')->
            search_rs({'me.modified' => {'>=',$last_query_time},
                      },
@@ -236,7 +236,7 @@ sub update_cache {
                     )->all();
        # or a source association modified
        push @bugs,
-           map {$_->{'bug_srcpackages.bug'}}
+           map {$_->{bug_srcpackages}{bug}}
            $s->resultset('SrcAssociation')->
            search_rs({'me.modified' => {'>=',$last_query_time},
                      },