1
0
Fork 0

removed unused functions

This commit is contained in:
Jan Steemann 2015-08-26 21:59:15 +02:00
parent a5a9e74e8b
commit 1184b7e705
2 changed files with 1 additions and 18 deletions

View File

@ -125,7 +125,7 @@ static int CmpElmElm (void* sli,
SkiplistIndex* skiplistindex = static_cast<SkiplistIndex*>(sli); SkiplistIndex* skiplistindex = static_cast<SkiplistIndex*>(sli);
if (leftElement == rightElement || if (leftElement == rightElement ||
(!skiplistindex->skiplist->isArray() && leftElement->document() == rightElement->document())) { (! skiplistindex->skiplist->isArray() && leftElement->document() == rightElement->document())) {
return 0; return 0;
} }
@ -973,14 +973,6 @@ TRI_skiplist_iterator_t* SkiplistIndex_find (SkiplistIndex* skiplistIndex,
return results; return results;
} }
////////////////////////////////////////////////////////////////////////////////
/// @brief returns the number of elements in the skip list index
////////////////////////////////////////////////////////////////////////////////
uint64_t SkiplistIndex_getNrUsed (SkiplistIndex* skiplistIndex) {
return skiplistIndex->skiplist->getNrUsed();
}
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
/// @brief returns the memory used by the index /// @brief returns the memory used by the index
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -143,15 +143,6 @@ TRI_skiplist_iterator_t* SkiplistIndex_find (SkiplistIndex*,
TRI_index_operator_t const*, TRI_index_operator_t const*,
bool); bool);
bool SkiplistIndex_update (SkiplistIndex*, const TRI_index_element_t*,
const TRI_index_element_t*);
////////////////////////////////////////////////////////////////////////////////
/// @brief return the number of elements in the index
////////////////////////////////////////////////////////////////////////////////
uint64_t SkiplistIndex_getNrUsed (SkiplistIndex*);
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
/// @brief return the memory used by the index /// @brief return the memory used by the index
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////