mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 10:52:30 +00:00
19 lines
360 B
C++
19 lines
360 B
C++
|
#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", getContext(), true);
|
||
|
}
|
||
|
|
||
|
}
|