mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
gcc-4.9.2: compilation fix
This commit is contained in:
parent
aee3f9a868
commit
d1bd09246d
@ -264,7 +264,7 @@ private:
|
||||
case AttributeUnderlyingType::Float64: createAttributeImpl<Float64>(attr, null_value); break;
|
||||
case AttributeUnderlyingType::String:
|
||||
{
|
||||
const auto & null_value_ref = std::get<String>(attr.null_values) = null_value.get<String>();
|
||||
std::get<String>(attr.null_values) = null_value.get<String>();
|
||||
std::get<std::unique_ptr<HashMap<UInt64, StringRef>>>(attr.maps) =
|
||||
std::make_unique<HashMap<UInt64, StringRef>>();
|
||||
attr.string_arena = std::make_unique<Arena>();
|
||||
|
@ -286,7 +286,7 @@ private:
|
||||
case AttributeUnderlyingType::Float64: createAttributeImpl<Float64>(attr, null_value); break;
|
||||
case AttributeUnderlyingType::String:
|
||||
{
|
||||
const auto & null_value_ref = std::get<String>(attr.null_values) = null_value.get<String>();
|
||||
std::get<String>(attr.null_values) = null_value.get<String>();
|
||||
std::get<ptr_t<StringRef>>(attr.maps) = std::make_unique<collection_t<StringRef>>();
|
||||
attr.string_arena = std::make_unique<Arena>();
|
||||
break;
|
||||
|
@ -234,7 +234,6 @@ void LogicalExpressionsOptimizer::cleanupOrExpressions()
|
||||
garbage_map.reserve(processed_count);
|
||||
for (const auto & chain : disjunctive_equality_chains_map)
|
||||
{
|
||||
const auto & equalities = chain.second;
|
||||
if (!chain.second.is_processed)
|
||||
continue;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user