1
0
Fork 0

Merge branch 'devel' into vpack

This commit is contained in:
Max Neunhoeffer 2015-12-21 16:06:45 +01:00
commit 61dd94bc27
1 changed files with 6 additions and 1 deletions

View File

@ -158,8 +158,13 @@ namespace triagens {
void setInternals (triagens::arango::Index*, bool); void setInternals (triagens::arango::Index*, bool);
bool isSorted () const { bool isSorted () const {
try {
return getInternals()->isSorted(); return getInternals()->isSorted();
} }
catch (...) {
return type == triagens::arango::Index::TRI_IDX_TYPE_SKIPLIST_INDEX;
}
}
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
/// @brief check whether or not the index supports the filter condition /// @brief check whether or not the index supports the filter condition