MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / execute

Method execute

src/Interpreters/InterpreterShowEngineQuery.cpp:14–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12{
13
14BlockIO InterpreterShowEnginesQuery::execute()
15{
16 auto query_context = Context::createCopy(getContext());
17 query_context->makeQueryContext();
18 query_context->setCurrentQueryId("");
19
20 return executeQuery("SELECT * FROM system.table_engines ORDER BY name", query_context, QueryFlags{ .internal = true }).second;
21}
22
23void registerInterpreterShowEnginesQuery(InterpreterFactory & factory);
24void registerInterpreterShowEnginesQuery(InterpreterFactory & factory)

Callers

nothing calls this directly

Calls 4

setCurrentQueryIdMethod · 0.80
executeQueryFunction · 0.70
getContextFunction · 0.50
makeQueryContextMethod · 0.45

Tested by

no test coverage detected