]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Merge pull request #16522 from Habbie/lmdb-full-comments
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Thu, 23 Apr 2026 10:01:30 +0000 (12:01 +0200)
committerGitHub <noreply@github.com>
Thu, 23 Apr 2026 10:01:30 +0000 (12:01 +0200)
auth lmdb: full support for comments

1  2 
modules/lmdbbackend/lmdbbackend.cc
modules/lmdbbackend/lmdbbackend.hh

Simple merge
index ad8103907a099c4072f9f67f0e6d1f5cecc81bde,096fa306367b59ab2af87bf42a55d02c97bebabb..7048ceb5591ae627963cec86c7e2898aab9d1646
@@@ -373,9 -365,18 +378,11 @@@ private
    static void deleteNSEC3RecordPair(const std::shared_ptr<RecordsRWTransaction>& txn, domainid_t domain_id, const DNSName& qname);
    void writeNSEC3RecordPair(const std::shared_ptr<RecordsRWTransaction>& txn, domainid_t domain_id, const DNSName& qname, const DNSName& ordername);
  
+   std::pair<std::string, std::string> serializeComment(const Comment& c);
    string directBackendCmd_list(std::vector<string>& 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: