mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 02:41:59 +00:00
18 lines
318 B
C++
18 lines
318 B
C++
#pragma once
|
|
|
|
#include <Parsers/ParserQueryWithOutput.h>
|
|
|
|
namespace DB
|
|
{
|
|
/** Query of form
|
|
* CHECK [TABLE] [database.]table
|
|
*/
|
|
class ParserCheckQuery : public IParserBase
|
|
{
|
|
protected:
|
|
const char * getName() const { return "ALTER query"; }
|
|
bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected);
|
|
};
|
|
|
|
}
|