bug fixed for oracle sql parser

This commit is contained in:
温少
2012-02-29 22:40:49 +08:00
77 changed files with 3890 additions and 283 deletions
@@ -24,6 +24,15 @@ public class TableStat {
int dropCount = 0;
int mergeCount = 0;
int createCount = 0;
int alterCount = 0;
public int getAlterCount() {
return alterCount;
}
public void incrementAlterCount() {
this.alterCount++;
}
public int getCreateCount() {
return createCount;
@@ -124,6 +133,9 @@ public class TableStat {
if (createCount > 0) {
buf.append("Create");
}
if (alterCount > 0) {
buf.append("Alter");
}
return buf.toString();
}