Open KaimingWan opened 3 years ago
写了个单元测试可复现问题:
@Test public void parse() { String sql = "create database pudding-test"; MySqlStatementParser parser = new MySqlStatementParser(sql, SQLParserFeature.IgnoreNameQuotes); SQLStatement sqlStatement = parser.parseStatement(); Assert.assertEquals(sqlStatement.toString().toLowerCase(),sql); }
create database pudding-test
pudding-test
写了个单元测试可复现问题: