mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
better
This commit is contained in:
parent
41d006d493
commit
be0ab21bb1
@ -68,6 +68,7 @@ public:
|
||||
get<CartesianPoint>(second_parser, second_container, i);
|
||||
|
||||
Geometry<CartesianPoint> polygons_union = CartesianMultiPolygon({{{{}}}});
|
||||
/// NOLINTNEXTLINE
|
||||
boost::geometry::union_(
|
||||
boost::get<CartesianMultiPolygon>(first_container),
|
||||
boost::get<CartesianMultiPolygon>(second_container),
|
||||
|
@ -248,6 +248,7 @@ struct FormatImpl
|
||||
/// Strings without null termination.
|
||||
for (size_t i = 1; i < substrings.size(); ++i)
|
||||
{
|
||||
/// NOLINTNEXTLINE(clang-analyzer-core.CallAndMessage)
|
||||
final_size += data[index_positions[i - 1]]->size();
|
||||
/// Fixed strings do not have zero terminating character.
|
||||
if (offsets[index_positions[i - 1]])
|
||||
|
@ -171,6 +171,7 @@ void StorageSystemQuotaUsage::fillDataImpl(
|
||||
for (auto resource_type : ext::range(Quota::MAX_RESOURCE_TYPE))
|
||||
{
|
||||
const auto & type_info = ResourceTypeInfo::get(resource_type);
|
||||
/// NOLINTNEXTLINE(clang-analyzer-core.CallAndMessage)
|
||||
addValue(*column_max[resource_type], *column_max_null_map[resource_type], interval->max[resource_type], type_info);
|
||||
addValue(*column_usage[resource_type], *column_usage_null_map[resource_type], interval->used[resource_type], type_info);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user