BIND 10 trac2108_3, updated. 9be7fe08ea3b0833049fea4e34a96a992f174329 [2108] Remove unused includes

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Sep 4 03:01:09 UTC 2012


The branch, trac2108_3 has been updated
       via  9be7fe08ea3b0833049fea4e34a96a992f174329 (commit)
       via  120561d3bf2290360dd5e2b341cfc306017c2db4 (commit)
      from  429f2e7c9a622ee39ee964b469bd9946f63c1c13 (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 9be7fe08ea3b0833049fea4e34a96a992f174329
Author: Mukund Sivaraman <muks at isc.org>
Date:   Tue Sep 4 08:30:47 2012 +0530

    [2108] Remove unused includes

commit 120561d3bf2290360dd5e2b341cfc306017c2db4
Author: Mukund Sivaraman <muks at isc.org>
Date:   Tue Sep 4 08:30:31 2012 +0530

    [2108] Remove what's left of RBNodeRRset

-----------------------------------------------------------------------

Summary of changes:
 src/lib/datasrc/memory/memory_client.cc |   13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/memory/memory_client.cc b/src/lib/datasrc/memory/memory_client.cc
index ab62f19..f90b562 100644
--- a/src/lib/datasrc/memory/memory_client.cc
+++ b/src/lib/datasrc/memory/memory_client.cc
@@ -23,8 +23,6 @@
 
 #include <util/memory_segment_local.h>
 
-#include <datasrc/rbtree.h>
-#include <datasrc/rbnode_rrset.h>
 #include <datasrc/logger.h>
 #include <datasrc/iterator.h>
 #include <datasrc/data_source.h>
@@ -429,21 +427,16 @@ public:
      */
 
     // Implementation of InMemoryClient::add()
-    result::Result add(const ConstRRsetPtr& rawrrset,
+    result::Result add(const ConstRRsetPtr& rrset,
                        const Name& zone_name, ZoneData& zone_data)
     {
         // Sanitize input.  This will cause an exception to be thrown
         // if the input RRset is empty.
-        addValidation(zone_name, rawrrset);
+        addValidation(zone_name, rrset);
 
         // OK, can add the RRset.
         LOG_DEBUG(logger, DBG_TRACE_DATA, DATASRC_MEM_ADD_RRSET).
-            arg(rawrrset->getName()).arg(rawrrset->getType()).arg(zone_name);
-
-        // ... although instead of loading the RRset directly, we encapsulate
-        // it within an RBNodeRRset.  This contains additional information that
-        // speeds up queries.
-        RBNodeRRsetPtr rrset(new RBNodeRRset(rawrrset));
+            arg(rrset->getName()).arg(rrset->getType()).arg(zone_name);
 
         if (rrset->getType() == RRType::NSEC3()) {
             return (addNSEC3(rrset, zone_data));



More information about the bind10-changes mailing list