From: Kees Monshouwer Date: Tue, 12 Jul 2022 22:02:45 +0000 (+0200) Subject: auth: use the catalog for the backend transaction X-Git-Tag: auth-4.8.0-alpha0~7^2~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=807a581b7b639691adacc9aa7eb718e48b255a42;p=thirdparty%2Fpdns.git auth: use the catalog for the backend transaction --- diff --git a/pdns/slavecommunicator.cc b/pdns/slavecommunicator.cc index c76d6dbfe3..83ecc21856 100644 --- a/pdns/slavecommunicator.cc +++ b/pdns/slavecommunicator.cc @@ -224,7 +224,7 @@ static bool catalogDiff(const DomainInfo& di, vector& fromXFR, vect } if (create) { // create zone - if (doTransaction && (inTransaction = di.backend->startTransaction(ciCreate.d_zone))) { + if (doTransaction && (inTransaction = di.backend->startTransaction(di.zone))) { g_log << Logger::Warning << logPrefix << "backend transaction started" << endl; doTransaction = false; }