BIND 10 trac2750, updated. 918419085f722e43c567d4498e6ca581d925ce26 [2750] Adjust a few more pointers to make the exchange complete

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Aug 26 10:33:10 UTC 2013


The branch, trac2750 has been updated
       via  918419085f722e43c567d4498e6ca581d925ce26 (commit)
      from  7b722a23d6a85ad0c3d903323e9a36ea2baefa0a (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 918419085f722e43c567d4498e6ca581d925ce26
Author: Mukund Sivaraman <muks at isc.org>
Date:   Mon Aug 26 16:03:00 2013 +0530

    [2750] Adjust a few more pointers to make the exchange complete

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

Summary of changes:
 src/lib/datasrc/memory/domaintree.h |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/memory/domaintree.h b/src/lib/datasrc/memory/domaintree.h
index b2f402d..5901d91 100644
--- a/src/lib/datasrc/memory/domaintree.h
+++ b/src/lib/datasrc/memory/domaintree.h
@@ -678,6 +678,20 @@ private:
             } else {
                 *subtree_root = other;
             }
+        } else {
+            if (other->getParent()->getLeft() == this) {
+                other->getParent()->left_ = other;
+            } else {
+                other->getParent()->right_ = other;
+            }
+        }
+
+        if (other->getRight()) {
+            other->getRight()->parent_ = other;
+        }
+
+        if (other->getLeft()) {
+            other->getLeft()->parent_ = other;
         }
     }
 



More information about the bind10-changes mailing list