From c03f170abe6adaa72ff04318cb178cdcfb635f19 Mon Sep 17 00:00:00 2001 From: Ricardo Markiewicz Date: Mon, 12 Sep 2005 20:12:04 +0000 Subject: [PATCH] Uso de write en AddKey --- src/btree.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/btree.cpp b/src/btree.cpp index 9591ec8..8803d20 100644 --- a/src/btree.cpp +++ b/src/btree.cpp @@ -66,6 +66,11 @@ void BTree::AddKey (const Clave &k) std::cout << "__NO__ hay lugar para meter la clave" << std::endl; } + + WriteKeys (root, root_header, node_keys); + WriteNodoHeader (root, &root_header); + write_block (root, 0); + delete [] root; } -- 2.43.0