summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-05-07 15:04:57 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2017-05-07 15:04:57 +0100
commita2ae90d0811242b51a1561f6fe6480cba2ce4673 (patch)
treeb9320ada277abf2667a9d01dcd0d6be531b220aa
parentRemove SQL files for old tree compare logic (diff)
downloadgentoobrowse-api-a2ae90d0811242b51a1561f6fe6480cba2ce4673.tar.bz2
gentoobrowse-api-a2ae90d0811242b51a1561f6fe6480cba2ce4673.tar.xz
gentoobrowse-api-a2ae90d0811242b51a1561f6fe6480cba2ce4673.zip
Remove diagnostic debug.
-rw-r--r--gentoobrowse-api/unittests/testMaintenance.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/gentoobrowse-api/unittests/testMaintenance.cpp b/gentoobrowse-api/unittests/testMaintenance.cpp
index 21b77db..2aa9ff8 100644
--- a/gentoobrowse-api/unittests/testMaintenance.cpp
+++ b/gentoobrowse-api/unittests/testMaintenance.cpp
@@ -82,7 +82,6 @@ class M2 : public Gentoo::Service::Maintenance {
void applyDiffOfFolders(int64_t repoId, const boost::filesystem::path & from, const boost::filesystem::path & to) const
{
- fprintf(stderr, "%s\n", __PRETTY_FUNCTION__);
auto dbc = db->get();
auto fromFiles = fileSet(from);
auto toFiles = fileSet(to);
@@ -119,7 +118,6 @@ class M2 : public Gentoo::Service::Maintenance {
ins->bindParamS(1, "A");
for(const auto & f : to) {
if (from.find(f.first) == from.end()) {
- fprintf(stderr, "Added %s\n", f.first.c_str());
ins->bindParamS(2, f.first.string());
ins->execute();
}
@@ -130,7 +128,6 @@ class M2 : public Gentoo::Service::Maintenance {
ins->bindParamS(1, "D");
for(const auto & f : from) {
if (to.find(f.first) == to.end()) {
- fprintf(stderr, "Removed %s\n", f.first.c_str());
ins->bindParamS(2, f.first.string());
ins->execute();
}
@@ -142,7 +139,6 @@ class M2 : public Gentoo::Service::Maintenance {
for(const auto & f : to) {
auto i = from.find(f.first);
if (i != from.end() && i->second != f.second) {
- fprintf(stderr, "Changed %s\n", f.first.c_str());
ins->bindParamS(2, f.first.string());
ins->execute();
}