From: JINMEI Tatuya Date: Wed, 1 Feb 2012 04:11:38 +0000 (-0800) Subject: [1578] unrelated doc fix: corrected description of MEM_SUPER_STOP log. X-Git-Tag: trac2351_base~268^2~4^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7074f97e8f9a6cc7b288f161fd5fea221c45f67a;p=thirdparty%2Fkea.git [1578] unrelated doc fix: corrected description of MEM_SUPER_STOP log. --- diff --git a/src/lib/datasrc/datasrc_messages.mes b/src/lib/datasrc/datasrc_messages.mes index e7b642a31f..9f4ebdf607 100644 --- a/src/lib/datasrc/datasrc_messages.mes +++ b/src/lib/datasrc/datasrc_messages.mes @@ -376,7 +376,7 @@ Some resource types are singletons -- only one is allowed in a domain % DATASRC_MEM_SUCCESS query for '%1/%2' successful Debug information. The requested record was found. -% DATASRC_MEM_SUPER_STOP stopped at superdomain '%1', domain '%2' is empty +% DATASRC_MEM_SUPER_STOP stopped at subdomain of '%1', meaning it's empty Debug information. The search stopped at a superdomain of the requested domain. The domain is an empty nonterminal, therefore it is treated as NXRRSET case (eg. the domain exists, but it doesn't have the requested record type). diff --git a/src/lib/datasrc/memory_datasrc.cc b/src/lib/datasrc/memory_datasrc.cc index a082b47ab9..92e005e6e6 100644 --- a/src/lib/datasrc/memory_datasrc.cc +++ b/src/lib/datasrc/memory_datasrc.cc @@ -697,7 +697,7 @@ struct InMemoryZoneFinder::InMemoryZoneFinderImpl { if (node_path.getLastComparisonResult().getRelation() == NameComparisonResult::SUPERDOMAIN) { LOG_DEBUG(logger, DBG_TRACE_DATA, DATASRC_MEM_SUPER_STOP). - arg(node_path.getAbsoluteName()).arg(name); + arg(name); return (createFindResult(NXRRSET, ConstRRsetPtr(), false)); }