mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for sql parser
This commit is contained in:
@@ -582,7 +582,6 @@ public class Lexer {
|
||||
np = bp;
|
||||
sp = 0;
|
||||
scanChar();
|
||||
sp++;
|
||||
|
||||
if (ch == '*') {
|
||||
scanChar();
|
||||
@@ -620,7 +619,7 @@ public class Lexer {
|
||||
break;
|
||||
}
|
||||
|
||||
if (ch == '\r') {
|
||||
if (ch == '\n') {
|
||||
scanChar();
|
||||
sp++;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user