From 83aab6110f2ffc29795a99c380fa57d0e17ab26d Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Fri, 15 Nov 2019 13:01:24 +0100 Subject: [PATCH] pdnsutil add/replace record: do not end transaction before we are done with it --- pdns/pdnsutil.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index d1385e44b5..152c7a70a4 100644 --- a/pdns/pdnsutil.cc +++ b/pdns/pdnsutil.cc @@ -1293,11 +1293,11 @@ int addOrReplaceRecord(bool addOrReplace, const vector& cmds) { di.backend->replaceRRSet(di.id, name, rr.qtype, newrrs); // need to be explicit to bypass the ueberbackend cache! di.backend->lookup(rr.qtype, name, di.id); - di.backend->commitTransaction(); cout<<"New rrset:"<get(rr)) { cout<commitTransaction(); return EXIT_SUCCESS; } -- 2.47.2