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

Function applySettingsOverridesForLocal

programs/local/LocalServer.cpp:273–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271{
272
273void applySettingsOverridesForLocal(ContextMutablePtr context)
274{
275 Settings settings = context->getSettingsCopy();
276
277 settings[Setting::allow_introspection_functions] = true;
278 settings[Setting::storage_file_read_method] = LocalFSReadMethod::mmap;
279 settings[Setting::implicit_select] = true;
280
281 context->setSettings(settings);
282}
283
284}
285

Callers 1

processConfigMethod · 0.85

Calls 2

getSettingsCopyMethod · 0.80
setSettingsMethod · 0.45

Tested by

no test coverage detected