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

Method execute

src/Interpreters/InterpreterShowSettingQuery.cpp:28–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27
28BlockIO InterpreterShowSettingQuery::execute()
29{
30 auto query_context = Context::createCopy(getContext());
31 query_context->makeQueryContext();
32 query_context->setCurrentQueryId("");
33
34 return executeQuery(getRewrittenQuery(), query_context, QueryFlags{ .internal = true }).second;
35}
36
37void registerInterpreterShowSettingQuery(InterpreterFactory & factory);
38void registerInterpreterShowSettingQuery(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