8000 try to work around some assertions by jsteemann · Pull Request #3296 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

try to work around some assertions #3296

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Sep 28, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
try to fix compile error on MacOS
  • Loading branch information
jsteemann committed Sep 26, 2017
commit a776d4d52ae01ce846a744a64c2e7fd124840797
4 changes: 2 additions & 2 deletions arangod/Graph/ClusterTraverserCache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ aql::AqlValue ClusterTraverserCache::fetchVertexAqlResult(StringRef id) {
TRI_ASSERT(ServerState::instance()->isCoordinator());
auto it = _cache.find(id);
if (it == _cache.end()) {
LOG_TOPIC(ERR, Logger::GRAPHS) << __FUNCTION__ << " vertex '" << id << "' not found";
LOG_TOPIC(ERR, Logger::GRAPHS) << __FUNCTION__ << " vertex '" << id.toString() << "' not found";
// Document not found return NULL
return aql::AqlValue(aql::AqlValueHintNull());
}
Expand All @@ -78,7 +78,7 @@ void ClusterTraverserCache::insertVertexIntoResult(StringRef id,
VPackBuilder& result) {
auto it = _cache.find(id);
if (it == _cache.end()) {
LOG_TOPIC(ERR, Logger::GRAPHS) << __FUNCTION__ << " vertex '" << id << "' not found";
LOG_TOPIC(ERR, Logger::GRAPHS) << __FUNCTION__ << " vertex '" << id.toString() << "' not found";
// Document not found append NULL
result.add(VelocyPackHelper::NullValue());
} else {
Expand Down
0