aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Interpreters/InterpreterShowEngineQuery.cpp
blob: 8fd829f39ec9fb126a0b60242292556984af5a46 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <IO/ReadBufferFromString.h>

#include <Interpreters/Context.h>
#include <Interpreters/executeQuery.h>
#include <Interpreters/InterpreterShowEngineQuery.h>

#include <Parsers/ASTQueryWithOutput.h>


namespace DB
{

BlockIO InterpreterShowEnginesQuery::execute()
{
    return executeQuery("SELECT * FROM system.table_engines ORDER BY name", getContext(), true);
}

}