dbms: fixed error with GROUP BY expression with IN operators [#METR-12383].

This commit is contained in:
Alexey Milovidov 2014-08-19 02:43:03 +04:00
parent d61d5e6784
commit b16c083de5

View File

@ -1028,7 +1028,6 @@ void ExpressionAnalyzer::getActionsImpl(ASTPtr ast, bool no_subqueries, bool onl
ColumnWithNameAndType fake_column;
fake_column.name = node->getColumnName();
fake_column.type = new DataTypeUInt8;
fake_column.column = new ColumnConstUInt8(1, 0);
actions_stack.addAction(ExpressionAction::addColumn(fake_column));
getActionsImpl(node->arguments->children.at(0), no_subqueries, only_consts, actions_stack);
}