mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved sql parser.
This commit is contained in:
@@ -913,7 +913,7 @@ public class SQLExprParser extends SQLParser {
|
||||
SQLExpr owner = null;
|
||||
String trimOption = null;
|
||||
|
||||
long hash_lower;
|
||||
long hash_lower = 0L;
|
||||
if (expr instanceof SQLIdentifierExpr) {
|
||||
SQLIdentifierExpr identifierExpr = (SQLIdentifierExpr) expr;
|
||||
methodName = identifierExpr.getName();
|
||||
@@ -964,7 +964,7 @@ public class SQLExprParser extends SQLParser {
|
||||
return aggregateExpr;
|
||||
}
|
||||
|
||||
methodInvokeExpr = new SQLMethodInvokeExpr(methodName);
|
||||
methodInvokeExpr = new SQLMethodInvokeExpr(methodName, hash_lower);
|
||||
if (owner != null) {
|
||||
methodInvokeExpr.setOwner(owner);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user