summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2016-04-24 19:04:43 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2016-04-25 21:37:39 +0100
commitba1ccd3902542aba802f1b4098a532b71c88ef2b (patch)
treecf00a3222459a6a75c156f6128a7eef1ea9803a3
parentTidy up file difference merge with newer features (diff)
downloadgentoobrowse-api-ba1ccd3902542aba802f1b4098a532b71c88ef2b.tar.bz2
gentoobrowse-api-ba1ccd3902542aba802f1b4098a532b71c88ef2b.tar.xz
gentoobrowse-api-ba1ccd3902542aba802f1b4098a532b71c88ef2b.zip
Don't bypass prepared statement logic
-rw-r--r--gentoobrowse-api/service/maintenance/ebuildMetaProcessor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoobrowse-api/service/maintenance/ebuildMetaProcessor.cpp b/gentoobrowse-api/service/maintenance/ebuildMetaProcessor.cpp
index 2b2541b..52c196b 100644
--- a/gentoobrowse-api/service/maintenance/ebuildMetaProcessor.cpp
+++ b/gentoobrowse-api/service/maintenance/ebuildMetaProcessor.cpp
@@ -211,7 +211,7 @@ namespace Gentoo {
pp->bindParamS(0, categoryName);
pp->execute();
// Prune categories
- dbc->execute(sql::maintenance::categoryPrune::sql);
+ dbc->modify(sql::maintenance::categoryPrune::sql)->execute();
}
}
}