mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
@@ -1585,11 +1585,7 @@ public class SQLExprParser extends SQLParser {
|
||||
throw new ParserException("error, " + lexer.info());
|
||||
}
|
||||
|
||||
if (lexer.token == Token.LITERAL_ALIAS) {
|
||||
name = new SQLPropertyExpr(name, lexer.stringVal());
|
||||
} else {
|
||||
name = new SQLPropertyExpr(name, lexer.stringVal());
|
||||
}
|
||||
name = new SQLPropertyExpr(name, lexer.stringVal());
|
||||
lexer.nextToken();
|
||||
name = nameRest(name);
|
||||
}
|
||||
|
||||
@@ -2552,7 +2552,6 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter implements Paramet
|
||||
boolean newLine = item instanceof SQLForeignKeyConstraint //
|
||||
|| item instanceof SQLPrimaryKey //
|
||||
|| item instanceof SQLColumnCheck //
|
||||
|| item instanceof SQLColumnCheck //
|
||||
|| item.getName() != null;
|
||||
if (newLine) {
|
||||
this.indentCount++;
|
||||
|
||||
Reference in New Issue
Block a user