mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
sql parser refactor
This commit is contained in:
@@ -801,7 +801,7 @@ public class MySqlStatementParser extends SQLStatementParser {
|
||||
if (lexer.token() == Token.CREATE) {
|
||||
lexer.nextToken();
|
||||
|
||||
if (identifierEquals("DATABASE")) {
|
||||
if (lexer.token() == Token.DATABASE) {
|
||||
lexer.nextToken();
|
||||
|
||||
MySqlShowCreateDatabaseStatement stmt = new MySqlShowCreateDatabaseStatement();
|
||||
|
||||
Reference in New Issue
Block a user