mirror of https://gitee.com/bigwinds/arangodb
add missing ifdefs (#5499)
This commit is contained in:
parent
9660dad86e
commit
c41b056209
|
@ -263,7 +263,9 @@ double DistributeNode::estimateCost(size_t& nrItems) const {
|
||||||
case SHORTEST_PATH:
|
case SHORTEST_PATH:
|
||||||
return castTo<GraphNode const*>(node)->collection();
|
return castTo<GraphNode const*>(node)->collection();
|
||||||
case SCATTER:
|
case SCATTER:
|
||||||
|
#ifdef USE_IRESEARCH
|
||||||
case SCATTER_IRESEARCH_VIEW:
|
case SCATTER_IRESEARCH_VIEW:
|
||||||
|
#endif
|
||||||
return nullptr; // diamond boundary
|
return nullptr; // diamond boundary
|
||||||
default:
|
default:
|
||||||
node = node->getFirstDependency();
|
node = node->getFirstDependency();
|
||||||
|
|
|
@ -146,10 +146,12 @@ Collection const* EngineInfoContainerDBServer::EngineInfo::collection() const no
|
||||||
return _collection;
|
return _collection;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef USE_IRESEARCH
|
||||||
LogicalView const* EngineInfoContainerDBServer::EngineInfo::view() const noexcept {
|
LogicalView const* EngineInfoContainerDBServer::EngineInfo::view() const noexcept {
|
||||||
TRI_ASSERT(ExecutionNode::ENUMERATE_IRESEARCH_VIEW == _type);
|
TRI_ASSERT(ExecutionNode::ENUMERATE_IRESEARCH_VIEW == _type);
|
||||||
return _view;
|
return _view;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void EngineInfoContainerDBServer::EngineInfo::serializeSnippet(
|
void EngineInfoContainerDBServer::EngineInfo::serializeSnippet(
|
||||||
Query* query,
|
Query* query,
|
||||||
|
|
|
@ -108,7 +108,9 @@ class EngineInfoContainerDBServer {
|
||||||
return _type;
|
return _type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef USE_IRESEARCH
|
||||||
LogicalView const* view() const noexcept;
|
LogicalView const* view() const noexcept;
|
||||||
|
#endif
|
||||||
|
|
||||||
private:
|
private:
|
||||||
EngineInfo(EngineInfo&) = delete;
|
EngineInfo(EngineInfo&) = delete;
|
||||||
|
|
Loading…
Reference in New Issue