1
0
Fork 0

Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel

This commit is contained in:
Max Neunhoeffer 2017-04-26 09:52:37 +02:00
commit 6ac6c3c859
2 changed files with 1 additions and 6 deletions

View File

@ -257,9 +257,7 @@ bool ShortestPathBlock::nextPath(AqlItemBlock const* items) {
VPackSlice start = _opts->getStart();
VPackSlice end = _opts->getEnd();
TRI_ASSERT(_finder != nullptr);
// We do not need this data anymore. Result has been processed.
// Save some memory.
_coordinatorCache.clear();
bool hasPath =
_finder->shortestPath(start, end, *_path, [this]() { throwIfKilled(); });

View File

@ -146,9 +146,6 @@ class ShortestPathBlock : public ExecutionBlock {
/// We use it to check if we are done with enumerating.
bool _usedConstant;
/// @brief Cache for edges send over the network
std::vector<std::shared_ptr<VPackBuffer<uint8_t>>> _coordinatorCache;
/// @brief Traverser Engines
std::unordered_map<ServerID, traverser::TraverserEngineID> const* _engines;