mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
build
This commit is contained in:
parent
767d1fc98b
commit
71e9a8d9d0
@ -208,14 +208,14 @@ namespace DB
|
||||
"The argument of function " + getName() + " must be integral", ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT);
|
||||
}
|
||||
|
||||
DataTypePtr baseType = std::make_shared<DataTypeString>();
|
||||
DataTypePtr base_type = std::make_shared<DataTypeString>();
|
||||
if constexpr (nullOnErrors)
|
||||
{
|
||||
return std::make_shared<DataTypeNullable>(baseType);
|
||||
return std::make_shared<DataTypeNullable>(base_type);
|
||||
}
|
||||
else
|
||||
{
|
||||
return baseType;
|
||||
return base_type;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user