mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved sql parser. issue #1416
This commit is contained in:
@@ -330,7 +330,8 @@ public class SQLSelectParser extends SQLParser {
|
||||
groupBy.setWithRollUp(true);
|
||||
}
|
||||
|
||||
if(JdbcConstants.MYSQL.equals(getDbType()) && lexer.token() == Token.DESC) {
|
||||
if(JdbcConstants.MYSQL.equals(getDbType())
|
||||
&& lexer.token() == Token.DESC) {
|
||||
lexer.nextToken(); // skip
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user