mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Update src/Storages/NamedCollectionsHelpers.cpp
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
This commit is contained in:
parent
970e34f32e
commit
f96cd4cfb8
@ -105,7 +105,7 @@ MutableNamedCollectionPtr tryGetNamedCollectionWithOverrides(
|
||||
if (allow_override_by_default)
|
||||
continue;
|
||||
// if allow_override_by_default is false we don't allow extra arguments
|
||||
throw Exception(ErrorCodes::BAD_ARGUMENTS, "Override not allowed because allow_override_by_default is false");
|
||||
throw Exception(ErrorCodes::BAD_ARGUMENTS, "Override not allowed because setting allow_override_by_default is disabled");
|
||||
}
|
||||
else if (!collection_copy->isOverridable(value_override->first, allow_override_by_default))
|
||||
throw Exception(ErrorCodes::BAD_ARGUMENTS, "Override not allowed for '{}'", value_override->first);
|
||||
|
Loading…
Reference in New Issue
Block a user