]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Merge pull request #12497 from jsoref/shorthands-for-seconds
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 3 Apr 2023 08:24:36 +0000 (10:24 +0200)
committerGitHub <noreply@github.com>
Mon, 3 Apr 2023 08:24:36 +0000 (10:24 +0200)
Shorthands for seconds

1  2 
modules/lmdbbackend/lmdbbackend.cc
pdns/dnsbulktest.cc
pdns/dnsdist-carbon.cc
pdns/dnsdist-lua-inspection.cc
pdns/dnsdist-lua-rules.cc
pdns/dnsdist-tcp.cc
pdns/dnsdist.cc
pdns/dnsreplay.cc
pdns/dnsscope.cc
pdns/dnssecinfra.cc
pdns/recursordist/syncres.cc

index 3e1b35a87cb46177ad615e2d5b8588ea9d9aa6ed,2518f2bdf028b70db9853e70a6c2f0d08878f91e..c9a47a613a62466239fbf35e2394074f41872c2d
@@@ -1422,10 -810,10 +1422,10 @@@ void LMDBBackend::lookup(const QType& t
      d_matchkey = co(zoneId, relqname, type.getCode());
    }
  
 -  if (d_getcursor->lower_bound(d_matchkey, key, val) || key.get<StringView>().rfind(d_matchkey, 0) != 0) {
 +  if (d_getcursor->lower_bound(d_matchkey, key, val) || key.getNoStripHeader<StringView>().rfind(d_matchkey, 0) != 0) {
      d_getcursor.reset();
      if (d_dolog) {
-       g_log << Logger::Warning << "Query " << ((long)(void*)this) << ": " << d_dtime.udiffNoReset() << " usec to execute (found nothing)" << endl;
+       g_log << Logger::Warning << "Query " << ((long)(void*)this) << ": " << d_dtime.udiffNoReset() << " us to execute (found nothing)" << endl;
      }
      return;
    }
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc pdns/dnsdist.cc
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge