MCPcopy Create free account
hub / github.com/ByConity/ByConity / executeForCurrentContext

Method executeForCurrentContext

src/Interpreters/InterpreterSetQuery.cpp:29–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27
28
29void InterpreterSetQuery::executeForCurrentContext()
30{
31 const auto & ast = query_ptr->as<ASTSetQuery &>();
32 getContext()->checkSettingsConstraints(ast.changes);
33 getContext()->applySettingsChanges(ast.changes, false);
34}
35
36void InterpreterSetQuery::applySettingsFromQuery(const ASTPtr & ast, ContextMutablePtr setting_scontext)
37{

Callers 10

executeCreateQueryMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
interpretSettingsFunction · 0.80
initSettingsMethod · 0.80
getASTFromBindingsMethod · 0.80
initSettingsMethod · 0.80
isDistributedStagesMethod · 0.80

Calls 2

applySettingsChangesMethod · 0.45

Tested by

no test coverage detected