[Pdns-users] re: patch to improve SQL db AXFR performance

Kenneth Marshall ktm at rice.edu
Thu May 31 20:02:32 UTC 2007


All,

I forgot the changes to pdns/communicator.cc.

Ken
---------------------------------------------
--- pdns-2.9.21/pdns/communicator.cc	2007-04-21 08:56:36.000000000 -0500
+++ pdns-2.9.21_AXFR/pdns/communicator.cc	2007-05-31 14:55:57.507040000 -0500
@@ -94,7 +94,7 @@
 	di.backend->feedRecord(*i);
       }
     }
-    di.backend->commitTransaction();
+    di.backend->commitTransaction(domain_id);
     di.backend->setFresh(domain_id);
     L<<Logger::Error<<"AXFR done for '"<<domain<<"', zone committed"<<endl;
   }


More information about the Pdns-users mailing list