mirror of https://gitee.com/bigwinds/arangodb
show index type in not implemented exception (#10426)
This commit is contained in:
parent
5f7803e705
commit
848b62a219
|
@ -688,7 +688,7 @@ arangodb::aql::AstNode* Index::specializeCondition(arangodb::aql::AstNode* /* no
|
||||||
arangodb::aql::Variable const* /* reference */) const {
|
arangodb::aql::Variable const* /* reference */) const {
|
||||||
// the default implementation should never be called
|
// the default implementation should never be called
|
||||||
TRI_ASSERT(false);
|
TRI_ASSERT(false);
|
||||||
THROW_ARANGO_EXCEPTION_MESSAGE(TRI_ERROR_INTERNAL, "no default implementation for specializeCondition");
|
THROW_ARANGO_EXCEPTION_MESSAGE(TRI_ERROR_INTERNAL, std::string("no default implementation for specializeCondition. index type: ") + typeName());
|
||||||
}
|
}
|
||||||
|
|
||||||
std::unique_ptr<IndexIterator> Index::iteratorForCondition(transaction::Methods* /* trx */,
|
std::unique_ptr<IndexIterator> Index::iteratorForCondition(transaction::Methods* /* trx */,
|
||||||
|
@ -697,7 +697,7 @@ std::unique_ptr<IndexIterator> Index::iteratorForCondition(transaction::Methods*
|
||||||
IndexIteratorOptions const& /* opts */) {
|
IndexIteratorOptions const& /* opts */) {
|
||||||
// the default implementation should never be called
|
// the default implementation should never be called
|
||||||
TRI_ASSERT(false);
|
TRI_ASSERT(false);
|
||||||
THROW_ARANGO_EXCEPTION_MESSAGE(TRI_ERROR_INTERNAL, "no default implementation for iteratorForCondition");
|
THROW_ARANGO_EXCEPTION_MESSAGE(TRI_ERROR_INTERNAL, std::string("no default implementation for iteratorForCondition. index type: ") + typeName());
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @brief perform some base checks for an index condition part
|
/// @brief perform some base checks for an index condition part
|
||||||
|
|
Loading…
Reference in New Issue