This commit is contained in:
温少
2012-03-17 13:00:25 +08:00
parent 6de22b54df
commit 72ef1a1532
10 changed files with 103 additions and 33 deletions
@@ -671,6 +671,10 @@ public class SchemaStatVisitor extends SQLASTVisitorAdapter {
public boolean visit(SQLExprTableSource x) {
if (isSimpleExprTableSource(x)) {
String ident = x.getExpr().toString();
if (variants.containsKey(ident)) {
return false;
}
if (subQueryMap.containsKey(ident)) {
return false;