bug fixed for sql parser. for issue #2544

This commit is contained in:
wenshao
2018-05-27 14:03:21 +08:00
parent 58fd40919d
commit d274b8a87a
4 changed files with 85 additions and 1 deletions
@@ -118,6 +118,13 @@ public class SQLMethodInvokeExpr extends SQLExprImpl implements SQLReplaceable,
this.parameters.add(param);
}
public void addArgument(SQLExpr arg) {
if (arg != null) {
arg.setParent(this);
}
this.parameters.add(arg);
}
public void output(StringBuffer buf) {
if (this.owner != null) {
this.owner.output(buf);