]> git.ipfire.org Git - thirdparty/pdns.git/commit
rec: Compare the CacheKey type and place first then the name 7939/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 11 Jun 2019 12:47:53 +0000 (14:47 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 17 Jun 2019 08:03:30 +0000 (10:03 +0200)
commitb5ad6913847e0070582a6068d8916aa8c3ac6866
treeac70cdb385b8d1ccd44213a98c32f95056f61134
parentc7871d61ca3da29cda03e44e9485d79674266ba9
rec: Compare the CacheKey type and place first then the name

We don't care about the actual ordering, so let's do the cheapest
comparisons first then the quite expensive DNSName comparison only
if we really need to.

(cherry picked from commit 186e99c98d195329af05129cd4d6512657edf4bc)
pdns/syncres.cc