mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 21:24:28 +00:00
Fix style, fix typo and remove extra code
This commit is contained in:
parent
fff2f7b2be
commit
4cfabd2675
@ -63,9 +63,8 @@ void registerCodecDensity(CompressionCodecFactory & factory)
|
|||||||
if (arguments && !arguments->children.empty())
|
if (arguments && !arguments->children.empty())
|
||||||
{
|
{
|
||||||
if (arguments->children.size() != 1)
|
if (arguments->children.size() != 1)
|
||||||
throw Exception(
|
throw Exception(ErrorCodes::ILLEGAL_SYNTAX_FOR_CODEC_TYPE,
|
||||||
"Density codec must have only one parameter, given " + std::to_string(arguments->children.size()),
|
"Density codec must have only one parameter, given {}", arguments->children.size());
|
||||||
ErrorCodes::ILLEGAL_SYNTAX_FOR_CODEC_TYPE);
|
|
||||||
|
|
||||||
const auto children = arguments->children;
|
const auto children = arguments->children;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user