mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for sql parser
This commit is contained in:
@@ -25,6 +25,7 @@ public class SQLDeleteStatement extends SQLStatementImpl {
|
||||
private static final long serialVersionUID = 1L;
|
||||
protected SQLName tableName;
|
||||
protected SQLExpr where;
|
||||
private String alias;
|
||||
|
||||
public SQLDeleteStatement(){
|
||||
|
||||
@@ -46,6 +47,14 @@ public class SQLDeleteStatement extends SQLStatementImpl {
|
||||
this.where = where;
|
||||
}
|
||||
|
||||
public String getAlias() {
|
||||
return this.alias;
|
||||
}
|
||||
|
||||
public void setAlias(String alias) {
|
||||
this.alias = alias;
|
||||
}
|
||||
|
||||
public void output(StringBuffer buf) {
|
||||
buf.append("DELETE FROM ");
|
||||
this.tableName.output(buf);
|
||||
|
||||
Reference in New Issue
Block a user