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:
@@ -44,13 +44,13 @@ public class SQLCreateFunctionStatement extends SQLStatementImpl implements SQLC
|
||||
// for mysql
|
||||
|
||||
private String comment;
|
||||
|
||||
private boolean deterministic = false;
|
||||
private boolean parallelEnable;
|
||||
private boolean aggregate;
|
||||
private SQLName using;
|
||||
private boolean pipelined;
|
||||
private boolean resultCache;
|
||||
private String wrappedSource;
|
||||
|
||||
public SQLCreateFunctionStatement clone() {
|
||||
SQLCreateFunctionStatement x = new SQLCreateFunctionStatement();
|
||||
@@ -257,4 +257,12 @@ public class SQLCreateFunctionStatement extends SQLStatementImpl implements SQLC
|
||||
public void setResultCache(boolean resultCache) {
|
||||
this.resultCache = resultCache;
|
||||
}
|
||||
|
||||
public String getWrappedSource() {
|
||||
return wrappedSource;
|
||||
}
|
||||
|
||||
public void setWrappedSource(String wrappedSource) {
|
||||
this.wrappedSource = wrappedSource;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,6 +46,8 @@ public class SQLCreateProcedureStatement extends SQLStatementImpl implements SQL
|
||||
private boolean readSqlData;
|
||||
private boolean modifiesSqlData;
|
||||
|
||||
private String wrappedSource;
|
||||
|
||||
@Override
|
||||
public void accept0(SQLASTVisitor visitor) {
|
||||
if (visitor.visit(this)) {
|
||||
@@ -176,4 +178,12 @@ public class SQLCreateProcedureStatement extends SQLStatementImpl implements SQL
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getWrappedSource() {
|
||||
return wrappedSource;
|
||||
}
|
||||
|
||||
public void setWrappedSource(String wrappedSource) {
|
||||
this.wrappedSource = wrappedSource;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user