From bf046a4a949bf49aa1209f89f01393fb9806455a Mon Sep 17 00:00:00 2001 From: Ricardo Markiewicz Date: Tue, 20 Sep 2005 16:37:07 +0000 Subject: [PATCH] Creo TreeData para agregado recursivo --- src/btree.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/btree.cpp b/src/btree.cpp index 970d5c0..e28bf9e 100644 --- a/src/btree.cpp +++ b/src/btree.cpp @@ -132,6 +132,8 @@ Clave* BTree::AddKeyR (const Clave *k, uint node_num, uint &left_child, uint &ri std::cout << "==== Me voy al nodo " << (*ultima)->getChild () << std::endl; k = AddKeyR (k, (*ultima)->getChild (), left_child, right_child); } + if (k) + data = new BTreeData (k->Clone (), right_child); } -- 2.43.0