mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 09:22:05 +00:00
Update SettingsProfilesCache.cpp
This commit is contained in:
parent
9555153f95
commit
fc626b2897
@ -170,7 +170,8 @@ void SettingsProfilesCache::substituteProfiles(
|
||||
continue;
|
||||
|
||||
auto profile_it = all_profiles.find(profile_id);
|
||||
if (profile_it == all_profiles.end()) {
|
||||
if (profile_it == all_profiles.end())
|
||||
{
|
||||
/// If the textual profile name is set, then users are configured via XML.
|
||||
/// For these users we want to throw an exception when their profile can't
|
||||
/// be found. Otherwise, these users are super admins.
|
||||
|
Loading…
Reference in New Issue
Block a user