提交 a2248868 编写于 作者: N Nikolai Kochetov

Fix ast type checking.

上级 55acc722
......@@ -659,7 +659,7 @@ void executeQuery(
if (set_query_id)
set_query_id(context.getClientInfo().current_query_id);
if (dynamic_cast<const ASTWatchQuery *>(ast.get()))
if (ast->as<ASTWatchQuery>())
{
/// For Watch query, flush data if block is empty (to send data to client).
auto flush_callback = [&out](const Block & block)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册