ClickHouse/dbms/include/DB/Parsers/ParserCheckQuery.h
2017-01-19 03:48:59 +04:00

18 lines
354 B
C++

#pragma once
#include <DB/Parsers/ParserQueryWithOutput.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, Pos & max_parsed_pos, Expected & expected);
};
}