ClickHouse/dbms/src/Parsers/ParserCheckQuery.h

18 lines
349 B
C++
Raw Normal View History

2014-08-05 10:52:06 +00:00
#pragma once
#include <Parsers/ParserQueryWithOutput.h>
2014-08-05 10:52:06 +00:00
namespace DB
{
2017-05-27 17:29:55 +00:00
/** Query of form
2014-08-05 10:52:06 +00:00
* CHECK [TABLE] [database.]table
*/
class ParserCheckQuery : public IParserBase
2014-08-05 10:52:06 +00:00
{
protected:
const char * getName() const { return "ALTER query"; }
bool parseImpl(Pos & pos, Pos end, ASTPtr & node, Pos & max_parsed_pos, Expected & expected);
2014-08-05 10:52:06 +00:00
};
}