mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
mysql parser support BINARY Expr
This commit is contained in:
@@ -755,7 +755,7 @@ public class MySqlStatementParser extends SQLStatementParser {
|
||||
return new MySqlShowAuthorsStatement();
|
||||
}
|
||||
|
||||
if (identifierEquals("BINARY")) {
|
||||
if (lexer.token() == Token.BINARY) {
|
||||
lexer.nextToken();
|
||||
acceptIdentifier("LOGS");
|
||||
return new MySqlShowBinaryLogsStatement();
|
||||
|
||||
Reference in New Issue
Block a user