improved sql parser. support oracle treat

This commit is contained in:
wenshao
2017-06-29 15:56:04 +08:00
parent bdbc39ec3c
commit f5cbc026b1
11 changed files with 352 additions and 72 deletions
@@ -1638,7 +1638,7 @@ public class SchemaStatVisitor extends SQLASTVisitorAdapter {
setCurrentTable(table);
TableStat stat = getTableStat(table);
stat.incrementDropIndexCount();
stat.incrementCreateIndexCount();
Map<String, String> aliasMap = getAliasMap();
putAliasMap(aliasMap, table, table);