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,7 +158,12 @@ namespace triagens {
void setInternals (triagens::arango::Index*, bool);
bool isSorted () const {
return getInternals()->isSorted();
try {
return getInternals()->isSorted();
}
catch (...) {
return type == triagens::arango::Index::TRI_IDX_TYPE_SKIPLIST_INDEX;
}
}
////////////////////////////////////////////////////////////////////////////////