#include #include #include namespace DB { BlockIO InterpreterSetQuery::execute() { const auto & ast = query_ptr->as(); getContext()->checkSettingsConstraints(ast.changes); getContext()->getSessionContext()->applySettingsChanges(ast.changes); return {}; } void InterpreterSetQuery::executeForCurrentContext() { const auto & ast = query_ptr->as(); getContext()->checkSettingsConstraints(ast.changes); getContext()->applySettingsChanges(ast.changes); } }