Skip to content

Commit

Permalink
fix run g.V() is error when backend is MYSQL
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoliangzl committed Mar 28, 2022
1 parent b591f7d commit 6e09d85
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 6e09d85

Please sign in to comment.