Skip to content

Commit

Permalink
bug in RestoreVisitor.visit
Browse files Browse the repository at this point in the history
  • Loading branch information
XenoAmess authored and wenshao committed Sep 5, 2022
1 parent 85a0522 commit 3b65c2b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ public boolean visit(SQLVariantRefExpr x) {

if (c0 == '#' && c1 == '{' && c1x == '}') {
String key = name.substring(2, name.length() - 1);
Object value = parameters.get(x);
Object value = parameters.get(key);
SQLExpr expr = SQLExprUtils.fromJavaObject(value, timeZone);
SQLUtils.replaceInParent(x, expr);
}
Expand Down

0 comments on commit 3b65c2b

Please sign in to comment.