Skip to content

Commit a690558

Browse files
committed
fixes #755
1 parent aff5053 commit a690558

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/net/sf/jsqlparser/util/deparser/ExpressionDeParser.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,12 +579,12 @@ public void visit(BitwiseXor bitwiseXor) {
579579
public void visit(CastExpression cast) {
580580
if (cast.isUseCastKeyword()) {
581581
buffer.append("CAST(");
582-
buffer.append(cast.getLeftExpression());
582+
cast.getLeftExpression().accept(this);
583583
buffer.append(" AS ");
584584
buffer.append(cast.getType());
585585
buffer.append(")");
586586
} else {
587-
buffer.append(cast.getLeftExpression());
587+
cast.getLeftExpression().accept(this);
588588
buffer.append("::");
589589
buffer.append(cast.getType());
590590
}

0 commit comments

Comments
 (0)