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
commit0fc26d42987e3151d4df253fd98a73648a10a9ee (patch)
treecf00a3222459a6a75c156f6128a7eef1ea9803a3
parentTidy up file difference merge with newer features (diff)
downloadgentoobrowse-api-0fc26d42987e3151d4df253fd98a73648a10a9ee.tar.bz2
gentoobrowse-api-0fc26d42987e3151d4df253fd98a73648a10a9ee.tar.xz
gentoobrowse-api-0fc26d42987e3151d4df253fd98a73648a10a9ee.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();
}
}
}