mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
refactor sql parser, support open/close statement
This commit is contained in:
+1
-1
@@ -99,7 +99,7 @@ public class SQLServerSelectParser extends SQLSelectParser {
|
||||
acceptIdentifier("ROWS");
|
||||
select.setOffset(offset);
|
||||
|
||||
if (identifierEquals("FETCH")) {
|
||||
if (lexer.token() == Token.FETCH) {
|
||||
lexer.nextToken();
|
||||
acceptIdentifier("NEXT");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user