bug fixed for sql parser

This commit is contained in:
温少
2012-03-07 14:31:34 +08:00
parent ee7ea7cd8a
commit e5574d7a7d
36 changed files with 1852 additions and 69 deletions
@@ -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);