BIND 10 master, updated. 14d4b5dd3ef4cb9cee473e70aaeaa5d63dac6113 [master] explicitly declare/define virtual destructor for ZoneFinder::Context.
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Mar 8 00:18:06 UTC 2012
The branch, master has been updated
via 14d4b5dd3ef4cb9cee473e70aaeaa5d63dac6113 (commit)
via abfbe328e4a378f63a4eb5b3fb95949a38d21557 (commit)
from 2e940ea65d5b9f371c26352afd9e66719c38a6b9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 14d4b5dd3ef4cb9cee473e70aaeaa5d63dac6113
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Wed Mar 7 16:16:54 2012 -0800
[master] explicitly declare/define virtual destructor for ZoneFinder::Context.
This will fix a build error on some systems, and is a good practice anyway.
Also fix a minor wording error in a comment.
commit abfbe328e4a378f63a4eb5b3fb95949a38d21557
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Wed Mar 7 14:23:44 2012 -0800
[master] changelog for #1607
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 9 +++++++++
src/lib/datasrc/zone.h | 5 ++++-
2 files changed, 13 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
diff --git a/ChangeLog b/ChangeLog
index 50cf705..4ea81f3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+396. [func]* jinmei
+ libdatasrc: change the return type of ZoneFinder::find() so it can
+ contain more context of the search, which can be used for
+ optimizing post find() processing. A new method getAdditional()
+ is added to it for finding additional RRsets based on the result
+ of find(). External behavior shouldn't change. The query
+ handling code of b10-auth now uses the new interface.
+ (Trac #1607, git 2e940ea65d5b9f371c26352afd9e66719c38a6b9)
+
395. [bug] jelte
The log message compiler now errors (resulting in build failures) if
duplicate log message identifiers are found in a single message file.
diff --git a/src/lib/datasrc/zone.h b/src/lib/datasrc/zone.h
index 0a58312..361a03a 100644
--- a/src/lib/datasrc/zone.h
+++ b/src/lib/datasrc/zone.h
@@ -197,6 +197,9 @@ public:
all_set_(all_set)
{}
+ /// \brief The destructor.
+ virtual ~Context() {}
+
const Result code;
const isc::dns::ConstRRsetPtr rrset;
@@ -257,7 +260,7 @@ public:
const std::vector<isc::dns::RRType>& requested_types,
std::vector<isc::dns::ConstRRsetPtr>& result)
{
- // Perform common checks, and delegate the process the default
+ // Perform common checks, and delegate the process to the default
// or specialized implementation.
if (code != SUCCESS && code != DELEGATION) {
return;
More information about the bind10-changes
mailing list