BIND 10 trac2108_3, updated. 6919cf078b8864752a438346b662ace8d4acaa59 [2108] Fix doc comment for addFromLoad()

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Sep 14 05:35:03 UTC 2012


The branch, trac2108_3 has been updated
       via  6919cf078b8864752a438346b662ace8d4acaa59 (commit)
       via  65ce434abe243852100803da6f0ba086f55fda5b (commit)
      from  7f4c06a3fcbbff054ff5227b7b3b60f865b8ed46 (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 6919cf078b8864752a438346b662ace8d4acaa59
Author: Mukund Sivaraman <muks at isc.org>
Date:   Fri Sep 14 11:03:00 2012 +0530

    [2108] Fix doc comment for addFromLoad()
    
    addFromLoad() used to throw before, but now the called code itself
    throws.  add() should never return anything except SUCCESS, so if it
    returns anything else, we assert.

commit 65ce434abe243852100803da6f0ba086f55fda5b
Author: Mukund Sivaraman <muks at isc.org>
Date:   Fri Sep 14 10:56:46 2012 +0530

    [2108] Fix typo

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

Summary of changes:
 src/lib/datasrc/memory/memory_client.cc |    3 +--
 src/lib/datasrc/memory/memory_client.h  |    2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/memory/memory_client.cc b/src/lib/datasrc/memory/memory_client.cc
index b818bdd..1674095 100644
--- a/src/lib/datasrc/memory/memory_client.cc
+++ b/src/lib/datasrc/memory/memory_client.cc
@@ -529,8 +529,7 @@ public:
     }
 
     /*
-     * Same as above, but it checks the return value and if it already exists,
-     * it throws.
+     * Wrapper around above.
      */
     void addFromLoad(const ConstRRsetPtr& set,
                      const Name& zone_name, ZoneData* zone_data)
diff --git a/src/lib/datasrc/memory/memory_client.h b/src/lib/datasrc/memory/memory_client.h
index dd0058e..d2ec4c3 100644
--- a/src/lib/datasrc/memory/memory_client.h
+++ b/src/lib/datasrc/memory/memory_client.h
@@ -223,7 +223,7 @@ public:
     virtual isc::datasrc::ZoneIteratorPtr
     getIterator(const isc::dns::Name& name, bool separate_rrs = false) const;
 
-    /// In-memory data source doesn't write back peristently, so this
+    /// In-memory data source doesn't write back persistently, so this
     /// derived method will result in a NotImplemented exception.
     ///
     /// \note We plan to use a database-based data source as a backend



More information about the bind10-changes mailing list