improved sql parser.

This commit is contained in:
wenshao
2017-09-17 17:11:26 +08:00
parent b54a987cc8
commit 3c98a1eee5
23 changed files with 955 additions and 31 deletions
@@ -65,7 +65,7 @@ public class ParameterizedOutputVisitorUtils {
}
if (visitor.getReplaceCount() == 0
&& parser.getLexer().getCommentCount() == 0) {
&& parser.getLexer().getCommentCount() == 0 && sql.charAt(0) != '/') {
return sql;
}