mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 21:12:28 +00:00
495c6e03aa
* Replace all Context references with std::weak_ptr * Fix shared context captured by value * Fix build * Fix Context with named sessions * Fix copy context * Fix gcc build * Merge with master and fix build * Fix gcc-9 build
24 lines
359 B
C++
24 lines
359 B
C++
#pragma once
|
|
|
|
#include <Core/Block.h>
|
|
#include <Interpreters/IInterpreter.h>
|
|
#include <Parsers/IAST_fwd.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class Cluster;
|
|
|
|
class InterpreterCheckQuery : public IInterpreter, WithContext
|
|
{
|
|
public:
|
|
InterpreterCheckQuery(const ASTPtr & query_ptr_, ContextPtr context_);
|
|
|
|
BlockIO execute() override;
|
|
|
|
private:
|
|
ASTPtr query_ptr;
|
|
};
|
|
|
|
}
|