Skip to content

Commit

Permalink
Rebase and fix conflict.
Browse files Browse the repository at this point in the history
  • Loading branch information
CPWstatic committed Nov 29, 2019
1 parent 5855039 commit b0f8f37
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions src/common/filter/Expressions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,16 @@ Expression::decode(folly::StringPiece buffer) noexcept {
std::string AliasPropertyExpression::toString() const {
std::string buf;
buf.reserve(64);
if (ref_ != nullptr && *ref_ != "" && *ref_ != VAR_REF) {
if (ref_ != nullptr) {
buf += *ref_;
}
if (alias_ != nullptr && *alias_ != "") {
if (*ref_ != "" && *ref_ != VAR_REF) {
buf += ".";
}
if (alias_ != nullptr) {
buf += *alias_;
}
if (*alias_ != "") {
buf += ".";
}
if (prop_ != nullptr) {
Expand Down
2 changes: 1 addition & 1 deletion src/graph/GoExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ void GoExecutor::stepOut() {
// TODO: not support filter pushdown in reversely traversal now.
filterPushdown = whereWrapper_->filterPushdown_;
}
auto future = ectx()->storage()->getNeighbors(spaceId,
auto future = ectx()->getStorageClient()->getNeighbors(spaceId,
starts_,
edgeTypes_,
filterPushdown,
Expand Down

0 comments on commit b0f8f37

Please sign in to comment.