From ba1ccd3902542aba802f1b4098a532b71c88ef2b Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 24 Apr 2016 19:04:43 +0100 Subject: Don't bypass prepared statement logic --- gentoobrowse-api/service/maintenance/ebuildMetaProcessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } } } -- cgit v1.2.3