ClickHouse/src/Interpreters/InterpreterShowEngineQuery.cpp

19 lines
374 B
C++
Raw Normal View History

2023-01-31 15:35:10 +00:00
#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);
2023-01-31 15:35:10 +00:00
}
}