mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
fix wrong condition
This commit is contained in:
parent
a1211a0f5a
commit
55da169fe7
@ -52,7 +52,7 @@ namespace
|
||||
else if (query.names->size() == 1)
|
||||
user.setName(query.names->front()->toString());
|
||||
|
||||
if (!query.attach && !query.alter && !auth_data.empty() && !allow_implicit_no_password)
|
||||
if (!query.attach && !query.alter && auth_data.empty() && !allow_implicit_no_password)
|
||||
throw Exception(ErrorCodes::BAD_ARGUMENTS,
|
||||
"Authentication type NO_PASSWORD must "
|
||||
"be explicitly specified, check the setting allow_implicit_no_password "
|
||||
|
Loading…
Reference in New Issue
Block a user