mirror of https://gitee.com/bigwinds/arangodb
removed unused functions
This commit is contained in:
parent
a5a9e74e8b
commit
1184b7e705
|
@ -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
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
|
@ -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
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Reference in New Issue