public void test_binaryLog_1() throws Exception {
String sql = "SHOW binlog events from 1 limit 1,2";
MySqlStatementParser parser = new MySqlStatementParser(sql);
MySqlShowBinLogEventsStatement show = (MySqlShowBinLogEventsStatement) parser.parseStatementList().get(0);
parser.match(Token.EOF);
String output = SQLUtils.toMySqlString(show);
Assert.assertEquals("SHOW BINLOG EVENTS FROM 1 LIMIT 1, 2", output);
}
public void test_binaryLog_2() throws Exception {