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:
@@ -261,7 +261,7 @@ public class MySqlSelectParser extends SQLSelectParser {
|
||||
return tableSource;
|
||||
}
|
||||
|
||||
if (identifierEquals("USE")) {
|
||||
if (lexer.token() == Token.USE) {
|
||||
lexer.nextToken();
|
||||
MySqlUseIndexHint hint = new MySqlUseIndexHint();
|
||||
parseIndexHint(hint);
|
||||
|
||||
Reference in New Issue
Block a user