From 32bc6dfbc66617ea4ed97341bd00fee3f30519fa Mon Sep 17 00:00:00 2001 From: "susumu.yata" Date: Thu, 2 May 2013 16:03:57 +0900 Subject: [PATCH] Update links in sweep(). --- lib/grnxx/storage/storage_impl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/grnxx/storage/storage_impl.cpp b/lib/grnxx/storage/storage_impl.cpp index 245c171..0ed8e91 100644 --- a/lib/grnxx/storage/storage_impl.cpp +++ b/lib/grnxx/storage/storage_impl.cpp @@ -740,6 +740,7 @@ bool StorageImpl::sweep_subtree(Time threshold, NodeHeader *node_header) { if (!sweep_subtree(threshold, child_node_header)) { return false; } + node_header->child_node_id = child_node_id; } node_header->status = STORAGE_NODE_IDLE; node_header->modified_time = clock_.now();