提交 540e1004 编写于 作者: N Nikolai Kochetov 提交者: Alexey Milovidov

Remove useless code.

上级 41baf1ab
......@@ -67,7 +67,8 @@ PushingToViewsBlockOutputStream::PushingToViewsBlockOutputStream(
insert->table_id = inner_table_id;
/// Get list of columns we get from select query.
auto header = InterpreterSelectQuery(query, *views_context, SelectQueryOptions().analyze()).getSampleBlock();
auto header = InterpreterSelectQuery(query, *views_context, SelectQueryOptions().analyze())
.getSampleBlock();
/// Insert only columns returned by select.
auto list = std::make_shared<ASTExpressionList>();
......
......@@ -885,12 +885,6 @@ bool Context::hasScalar(const String & name) const
}
void Context::dropScalars()
{
scalars.clear();
}
StoragePtr Context::executeTableFunction(const ASTPtr & table_expression)
{
/// Slightly suboptimal.
......
......@@ -330,7 +330,6 @@ public:
const Block & getScalar(const String & name) const;
void addScalar(const String & name, const Block & block);
bool hasScalar(const String & name) const;
void dropScalars();
StoragePtr executeTableFunction(const ASTPtr & table_expression);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册