mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
310ed66b00
This reverts commit 6f4f44ce7980cace32edd0913b8d1d53cd51682b.
25 lines
482 B
C++
25 lines
482 B
C++
#pragma once
|
|
|
|
#include <DB/Parsers/IAST.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
struct ASTCheckQuery : public IAST
|
|
{
|
|
ASTCheckQuery(StringRange range_ = StringRange()) : IAST(range_) {};
|
|
|
|
/** Получить текст, который идентифицирует этот элемент. */
|
|
String getID() const override { return ("CheckQuery_" + database + "_" + table); };
|
|
|
|
ASTPtr clone() const override
|
|
{
|
|
return new ASTCheckQuery(*this);
|
|
}
|
|
|
|
std::string database;
|
|
std::string table;
|
|
};
|
|
|
|
}
|