2014-08-05 10:52:06 +00:00
|
|
|
#pragma once
|
|
|
|
|
2017-04-01 09:19:00 +00:00
|
|
|
#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
|
|
|
|
*/
|
2017-01-11 19:05:46 +00:00
|
|
|
class ParserCheckQuery : public IParserBase
|
2014-08-05 10:52:06 +00:00
|
|
|
{
|
|
|
|
protected:
|
2017-04-01 07:20:54 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
|
|
|
|
}
|