Skip to content

Commit

Permalink
fix: run g.V() is error when backend is MYSQL (#1801)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoliangzl authored Apr 6, 2022
1 parent 0cc02e4 commit ed1d6f8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

import java.util.ArrayList;
import java.util.List;
import java.util.Objects;

import com.baidu.hugegraph.backend.query.Condition.RelationType;
import com.baidu.hugegraph.type.HugeType;
Expand Down Expand Up @@ -75,7 +76,7 @@ protected boolean sameQueryExceptKeyIN(ConditionQuery query) {
continue;
}
Object key = r.key();
if (!this.condition(key).equals(query.condition(key))) {
if (!Objects.equals(this.condition(key), query.condition(key))) {
return false;
}
}
Expand Down

0 comments on commit ed1d6f8

Please sign in to comment.