mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 21:24:28 +00:00
20 lines
395 B
C++
20 lines
395 B
C++
#include <IO/ReadBufferFromString.h>
|
|
|
|
#include <Interpreters/Context.h>
|
|
#include <Interpreters/executeQuery.h>
|
|
#include <Interpreters/InterpreterShowProcesslistQuery.h>
|
|
|
|
#include <Parsers/ASTQueryWithOutput.h>
|
|
#include <Parsers/ASTIdentifier.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
BlockIO InterpreterShowProcesslistQuery::execute()
|
|
{
|
|
return executeQuery("SELECT * FROM system.processes", context, true);
|
|
}
|
|
|
|
}
|