oracle sql parser support multi insert

This commit is contained in:
温少
2012-02-25 16:26:09 +08:00
parent 7d34b6efc5
commit e40888c28d
11 changed files with 554 additions and 92 deletions
@@ -363,6 +363,10 @@ public class SchemaStatVisitor extends SQLASTVisitorAdapter {
currentTableLocal.set(null);
} else {
currentTableLocal.set(ident);
x.putAttribute("_table_", ident);
if (x.getParent() instanceof SQLSelect) {
x.getParent().putAttribute("_table_", ident);
}
}
x.putAttribute("_old_local_", originalTable);
}