1 | #include <IO/ReadBufferFromString.h> |
---|---|
2 | |
3 | #include <Interpreters/Context.h> |
4 | #include <Interpreters/executeQuery.h> |
5 | #include <Interpreters/InterpreterShowProcesslistQuery.h> |
6 | |
7 | #include <Parsers/ASTQueryWithOutput.h> |
8 | |
9 | |
10 | namespace DB |
11 | { |
12 | |
13 | BlockIO InterpreterShowProcesslistQuery::execute() |
14 | { |
15 | return executeQuery("SELECT * FROM system.processes", context, true); |
16 | } |
17 | |
18 | } |
19 |