Skip to content

Commit 150f2bd

Browse files
committed
Update SqlParser.java
1 parent d3077bb commit 150f2bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/nlpcn/es4sql/parse/SqlParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ private void parseWhere(SQLBinaryOpExpr expr, SQLBinaryOpExpr sub, Where where)
103103
if (isCond(sub)) {
104104
explanCond(expr.operator.name, sub, where);
105105
} else {
106-
if (sub.operator.priority > expr.operator.priority) {
106+
if (sub.operator.priority != expr.operator.priority) {
107107
Where subWhere = new Where(expr.getOperator().name);
108108
where.addWhere(subWhere);
109109
parseWhere(sub, subWhere);

0 commit comments

Comments
 (0)