mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
support mysql 8.0 syntax
This commit is contained in:
@@ -5896,6 +5896,9 @@ public class SQLStatementParser extends SQLParser {
|
||||
for (int i = 0; ; ++i) {
|
||||
int startPos = lexer.pos - 1;
|
||||
|
||||
if (lexer.token == Token.ROW) {
|
||||
lexer.nextToken();
|
||||
}
|
||||
if (lexer.token != Token.LPAREN) {
|
||||
throw new ParserException("syntax error, expect ')', " + lexer.info());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user