dbms: development [#CONV-2944].

This commit is contained in:
Alexey Milovidov 2011-09-26 05:18:19 +00:00
parent edeaf8f2d2
commit 4f66da4b73

View File

@ -27,6 +27,9 @@ void Expression::addSemantic(ASTPtr & ast)
for (NamesAndTypes::const_iterator it = context.columns.begin(); it != context.columns.end(); ++it)
all_columns->children.push_back(new ASTIdentifier(ast->range, it->first));
ast = all_columns;
for (ASTs::iterator it = ast->children.begin(); it != ast->children.end(); ++it)
addSemantic(*it);
}
else if (ASTFunction * node = dynamic_cast<ASTFunction *>(&*ast))
{