2014-08-05 10:52:06 +00:00
|
|
|
#pragma once
|
|
|
|
|
2018-10-09 14:32:11 +00:00
|
|
|
#include <Parsers/IParserBase.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"; }
|
2017-07-10 03:28:12 +00:00
|
|
|
bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected);
|
2014-08-05 10:52:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|