mysql parser support BINARY Expr

This commit is contained in:
wenshao
2012-12-20 20:55:07 +08:00
parent 49acee4aca
commit 1e605db7a0
2 changed files with 27 additions and 14 deletions
@@ -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();