mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved sql parser.
This commit is contained in:
@@ -22,6 +22,8 @@ public abstract class SQLStatementImpl extends SQLObjectImpl implements SQLState
|
||||
|
||||
private String dbType;
|
||||
|
||||
private boolean afterSemi;
|
||||
|
||||
public SQLStatementImpl(){
|
||||
|
||||
}
|
||||
@@ -46,4 +48,12 @@ public abstract class SQLStatementImpl extends SQLObjectImpl implements SQLState
|
||||
protected void accept0(SQLASTVisitor visitor) {
|
||||
throw new UnsupportedOperationException(this.getClass().getName());
|
||||
}
|
||||
|
||||
public boolean isAfterSemi() {
|
||||
return afterSemi;
|
||||
}
|
||||
|
||||
public void setAfterSemi(boolean afterSemi) {
|
||||
this.afterSemi = afterSemi;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user