diff --git a/KVstore/IVTree/IVTree.cpp b/KVstore/IVTree/IVTree.cpp index a4070ae..7a97a9f 100644 --- a/KVstore/IVTree/IVTree.cpp +++ b/KVstore/IVTree/IVTree.cpp @@ -622,6 +622,17 @@ IVTree::release(IVNode* _np) const delete _np; } +void +IVTree::AddIntoCache(TYPE_PREDICATE_ID _id) +{ + char* _tmp = NULL; + unsigned _len; + this->search(_id, _tmp, _len); +// cout << "len is " << len << endl; + this->value_list->AddIntoCache(_id, _tmp, _len); + delete [] _tmp; +} + void IVTree::AddIntoCache(TYPE_ENTITY_LITERAL_ID _id) {