bug fixed for sql parser. issue #1356

This commit is contained in:
wenshao
2016-08-05 16:22:58 +08:00
parent cfa4b9fca2
commit 165eefe9a9
2 changed files with 61 additions and 1 deletions
@@ -785,7 +785,7 @@ public class SQLExprParser extends SQLParser {
accept(Token.LPAREN);
}
if (expr instanceof SQLName || expr instanceof SQLDefaultExpr) {
if (expr instanceof SQLName || expr instanceof SQLDefaultExpr || expr instanceof SQLCharExpr) {
String methodName;
SQLMethodInvokeExpr methodInvokeExpr;