mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-13 19:14:30 +00:00
18 lines
322 B
C
18 lines
322 B
C
|
#pragma once
|
||
|
|
||
|
#include <DB/Parsers/IParserBase.h>
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
/** Запрос вида
|
||
|
* CHECK [TABLE] [database.]table
|
||
|
*/
|
||
|
class ParserCheckQuery : public IParserBase
|
||
|
{
|
||
|
protected:
|
||
|
const char * getName() const { return "ALTER query"; }
|
||
|
bool parseImpl(Pos & pos, Pos end, ASTPtr & node, Expected & expected);
|
||
|
};
|
||
|
|
||
|
}
|