mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
This commit is contained in:
commit
6ac6c3c859
|
@ -257,9 +257,7 @@ bool ShortestPathBlock::nextPath(AqlItemBlock const* items) {
|
||||||
VPackSlice start = _opts->getStart();
|
VPackSlice start = _opts->getStart();
|
||||||
VPackSlice end = _opts->getEnd();
|
VPackSlice end = _opts->getEnd();
|
||||||
TRI_ASSERT(_finder != nullptr);
|
TRI_ASSERT(_finder != nullptr);
|
||||||
// We do not need this data anymore. Result has been processed.
|
|
||||||
// Save some memory.
|
|
||||||
_coordinatorCache.clear();
|
|
||||||
bool hasPath =
|
bool hasPath =
|
||||||
_finder->shortestPath(start, end, *_path, [this]() { throwIfKilled(); });
|
_finder->shortestPath(start, end, *_path, [this]() { throwIfKilled(); });
|
||||||
|
|
||||||
|
|
|
@ -146,9 +146,6 @@ class ShortestPathBlock : public ExecutionBlock {
|
||||||
/// We use it to check if we are done with enumerating.
|
/// We use it to check if we are done with enumerating.
|
||||||
bool _usedConstant;
|
bool _usedConstant;
|
||||||
|
|
||||||
/// @brief Cache for edges send over the network
|
|
||||||
std::vector<std::shared_ptr<VPackBuffer<uint8_t>>> _coordinatorCache;
|
|
||||||
|
|
||||||
/// @brief Traverser Engines
|
/// @brief Traverser Engines
|
||||||
std::unordered_map<ServerID, traverser::TraverserEngineID> const* _engines;
|
std::unordered_map<ServerID, traverser::TraverserEngineID> const* _engines;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue