ClickHouse/src/Parsers/ASTShowProcesslistQuery.h

18 lines
322 B
C++
Raw Normal View History

#pragma once
#include <Parsers/ASTQueryWithOutput.h>
namespace DB
{
2018-04-20 08:54:50 +00:00
struct ASTShowProcesslistIDAndQueryNames
{
static constexpr auto ID = "ShowProcesslistQuery";
static constexpr auto Query = "SHOW PROCESSLIST";
};
2018-04-20 08:54:50 +00:00
using ASTShowProcesslistQuery = ASTQueryWithOutputImpl<ASTShowProcesslistIDAndQueryNames>;
}