mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
dbms: using user name as default quota key [#METR-8459].
This commit is contained in:
parent
1845d91ac6
commit
59095d4333
@ -39,7 +39,7 @@ void Context::setUser(const String & name, const String & password, const Poco::
|
||||
|
||||
const User & user_props = shared->users.get(name, password, address);
|
||||
setSetting("profile", user_props.profile);
|
||||
setQuota(user_props.quota, quota_key, address);
|
||||
setQuota(user_props.quota, quota_key.empty() ? name : quota_key, address);
|
||||
|
||||
user = name;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user