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