From 007c66b868ed06688b1a385c0aeb4d5e33997d6a Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 8 Jul 2017 17:31:08 +0100 Subject: Ensure findPackages query is drained incase it's reused --- gentoobrowse-api/service/maintenance/updatesProcessor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gentoobrowse-api/service/maintenance/updatesProcessor.cpp b/gentoobrowse-api/service/maintenance/updatesProcessor.cpp index 4717a95..530c445 100644 --- a/gentoobrowse-api/service/maintenance/updatesProcessor.cpp +++ b/gentoobrowse-api/service/maintenance/updatesProcessor.cpp @@ -115,6 +115,7 @@ namespace Gentoo { } } } + while (findPackage->fetch()) ; }); } }; -- cgit v1.2.3