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:
@@ -857,7 +857,7 @@ public class SQLUtils {
|
||||
|
||||
List<SQLExpr> parameters = x.getParameters();
|
||||
SQLCaseExpr caseExpr = new SQLCaseExpr();
|
||||
|
||||
caseExpr.setParent(x.getParent());
|
||||
caseExpr.setValueExpr(parameters.get(0));
|
||||
|
||||
for (int i = 1; i + 1 < parameters.size(); i += 2) {
|
||||
|
||||
Reference in New Issue
Block a user