BIND 10 master, updated. ef64723fe9638f8d56f58fba44a149ac620eadd9 [master] clarified the expected behavior of DatabaseAccessor::getNext() after it returns false. okayed on jabber, and I don't think we need a separate ticket/branch for this as it's just a small documentation update.
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Aug 25 08:27:51 UTC 2011
The branch, master has been updated
via ef64723fe9638f8d56f58fba44a149ac620eadd9 (commit)
from 5de6f9658f745e05361242042afd518b444d7466 (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 ef64723fe9638f8d56f58fba44a149ac620eadd9
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Thu Aug 25 01:26:42 2011 -0700
[master] clarified the expected behavior of DatabaseAccessor::getNext()
after it returns false.
okayed on jabber, and I don't think we need a separate ticket/branch for
this as it's just a small documentation update.
-----------------------------------------------------------------------
Summary of changes:
src/lib/datasrc/database.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/database.h b/src/lib/datasrc/database.h
index d0237ec..e63de75 100644
--- a/src/lib/datasrc/database.h
+++ b/src/lib/datasrc/database.h
@@ -137,6 +137,11 @@ public:
* definition already known to the caller (it already passes it as
* an argument to getRecords()).
*
+ * Once this function returns false, any subsequent call to it should
+ * result in false. The implementation of a derived class must ensure
+ * it doesn't cause any disruption due to that such as a crash or
+ * exception.
+ *
* \note The order of RRs is not strictly set, but the RRs for single
* RRset must not be interleaved with any other RRs (eg. RRsets must be
* "together").
More information about the bind10-changes
mailing list