improved sql parser.

This commit is contained in:
wenshao
2017-09-04 03:10:45 +08:00
parent ac3626617a
commit 5badd35b7f
9 changed files with 170 additions and 6 deletions
@@ -190,7 +190,12 @@ public abstract class SQLObjectImpl implements SQLObject {
}
public boolean hasBeforeComment() {
List<String> comments = getBeforeCommentsDirect();
if (attributes == null) {
return false;
}
List<String> comments = (List<String>) attributes.get("format.before_comment");
if (comments == null) {
return false;
}