]> granicus.if.org Git - pdns/commitdiff
pdnssec: remove transaction in secure-all-zones
authorKees Monshouwer <mind04@monshouwer.org>
Wed, 14 May 2014 19:32:45 +0000 (21:32 +0200)
committermind04 <mind04@monshouwer.org>
Wed, 14 May 2014 19:32:45 +0000 (21:32 +0200)
pdns/pdnssec.cc

index 7238e356395987b7f5e4e777e7b285c0733966f4..9abd5086105da86a72a58322e7ea7eb0bb4bd16b 100644 (file)
@@ -1406,7 +1406,6 @@ try
   else if (cmds[0] == "secure-all-zones") {
     UeberBackend B("default");
 
-    unsigned int zoneErrors=0;
     vector<DomainInfo> domainInfo;
     B.getAllDomains(&domainInfo);
 
@@ -1418,7 +1417,6 @@ try
           zoneErrors++;
       }
     }
-    dk.commitTransaction();
 
     cout<<"Secured: "<<domainInfo.size()<<" zones. Errors: "<<zoneErrors<<endl;