mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for oracle sql parser
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user