From: Peter van Dijk Date: Thu, 23 Apr 2026 10:01:30 +0000 (+0200) Subject: Merge pull request #16522 from Habbie/lmdb-full-comments X-Git-Tag: auth-5.1.0-beta1~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e97b4ee3f3a1e17e991be18b04e23efe252bb007;p=thirdparty%2Fpdns.git Merge pull request #16522 from Habbie/lmdb-full-comments auth lmdb: full support for comments --- e97b4ee3f3a1e17e991be18b04e23efe252bb007 diff --cc modules/lmdbbackend/lmdbbackend.hh index ad8103907a,096fa30636..7048ceb559 --- a/modules/lmdbbackend/lmdbbackend.hh +++ b/modules/lmdbbackend/lmdbbackend.hh @@@ -373,9 -365,18 +378,11 @@@ private static void deleteNSEC3RecordPair(const std::shared_ptr& txn, domainid_t domain_id, const DNSName& qname); void writeNSEC3RecordPair(const std::shared_ptr& txn, domainid_t domain_id, const DNSName& qname, const DNSName& ordername); + std::pair serializeComment(const Comment& c); + string directBackendCmd_list(std::vector& argv); - // Transient DomainInfo data, not necessarily synchronized with the - // database. - struct TransientDomainInfo - { - time_t last_check{}; - uint32_t notified_serial{}; - }; - // Cache of DomainInfo notified_serial values + // Cache of TransientDomainInfo class TransientDomainInfoCache : public boost::noncopyable { public: