Skip to content

Commit fbc391c

Browse files
committed
fix mod operator
1 parent 594a8aa commit fbc391c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

hbt/src/main/java/io/mycat/calcite/MycatCalciteMySqlNodeVisitor.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1266,12 +1266,11 @@ public boolean visit(SQLBinaryOpExpr x) {
12661266
new SQLMethodInvokeExpr("SOUNDEX", null, x.getRight()));
12671267
eq.accept(this);
12681268
return false;
1269-
case Mod:
1270-
12711269
case SubGt:
12721270
case SubGtGt:
12731271
sqlNode = SubGtFunction.INSTANCE.createCall(SqlParserPos.ZERO, new SqlNode[]{left, right});
12741272
return false;
1273+
case Mod:
12751274
case PoundGt:
12761275

12771276
case PoundGtGt:

0 commit comments

Comments
 (0)