| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include <Parsers/ASTQueryWithOutput.h> |
| 4 | |
| 5 | |
| 6 | namespace DB |
| 7 | { |
| 8 | |
| 9 | struct ASTShowProcesslistIDAndQueryNames |
| 10 | { |
| 11 | static constexpr auto ID = "ShowProcesslistQuery"; |
| 12 | static constexpr auto Query = "SHOW PROCESSLIST"; |
| 13 | }; |
| 14 | |
| 15 | using ASTShowProcesslistQuery = ASTQueryWithOutputImpl<ASTShowProcesslistIDAndQueryNames>; |
| 16 | |
| 17 | } |
| 18 |