Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
junwen12221 committed Jan 8, 2022
1 parent ab7d665 commit e6b1249
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,12 @@ public boolean visit(SQLVariantRefExpr x) {
parent.replace(x, new SQLCharExpr(new String(bytes)));
return false;
}
if (bindValue.value instanceof String) {
SQLReplaceable parent = (SQLReplaceable) x.getParent();
String value = (String) bindValue.value;
parent.replace(x, new SQLCharExpr(value));
return false;
}
throw new UnsupportedOperationException("unsupport " + bindValue.value);
}

Expand Down

0 comments on commit e6b1249

Please sign in to comment.