ClickHouse/dbms/include/DB/Parsers/ParserCheckQuery.h
Alexey Arno e059442193 Merge
2015-10-21 17:57:10 +03:00

18 lines
364 B
C++

#pragma once
#include <DB/Parsers/ParserQueryWithOutput.h>
namespace DB
{
/** Запрос вида
* CHECK [TABLE] [database.]table
*/
class ParserCheckQuery : public ParserQueryWithOutput
{
protected:
const char * getName() const { return "ALTER query"; }
bool parseImpl(Pos & pos, Pos end, ASTPtr & node, Pos & max_parsed_pos, Expected & expected);
};
}