dbms: added tests; fixed error in prev. revision [#METR-17472].

This commit is contained in:
Alexey Milovidov 2015-07-25 14:59:21 +03:00
parent 80ce5f1f65
commit 35b55b7e4f
3 changed files with 3 additions and 1 deletions

View File

@ -603,7 +603,7 @@ void ExpressionAnalyzer::executeScalarSubqueriesImpl(ASTPtr & ast)
tuple->name = "tuple";
ASTExpressionList * exp_list = new ASTExpressionList(ast->range);
tuple->arguments = exp_list;
tuple->children.push_back(exp_list);
tuple->children.push_back(tuple->arguments);
exp_list->children.resize(columns);
for (size_t i = 0; i < columns; ++i)

View File

@ -0,0 +1 @@
1 1

View File

@ -0,0 +1 @@
SELECT (SELECT (SELECT (SELECT (SELECT (SELECT count() FROM (SELECT * FROM system.numbers LIMIT 10)))))) = (SELECT 10), ((SELECT 1, 'Hello', [1, 2]).3)[1];