2016-11-30 17:31:05 +00:00
|
|
|
#pragma once
|
|
|
|
|
2017-04-01 09:19:00 +00:00
|
|
|
#include <Parsers/IParserBase.h>
|
2016-11-30 17:31:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
2017-01-24 16:28:24 +00:00
|
|
|
/** KILL QUERY WHERE <logical expression upon system.processes fields> [SYNC|ASYNC|TEST]
|
2016-11-30 17:31:05 +00:00
|
|
|
*/
|
|
|
|
class ParserKillQueryQuery : public IParserBase
|
|
|
|
{
|
|
|
|
protected:
|
2017-04-01 07:20:54 +00:00
|
|
|
const char * getName() const override { return "KILL QUERY query"; }
|
2017-07-10 03:28:12 +00:00
|
|
|
bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
|
2016-11-30 17:31:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|