Removed redundant template from updateTTL() method.

This commit is contained in:
Vladimir Chebotarev 2019-11-20 11:08:04 +03:00
parent 62016feab0
commit cb777f6c50

View File

@ -75,8 +75,10 @@ void buildScatterSelector(
}
/// Computes ttls and updates ttl infos
template <typename TTLEntry>
void updateTTL(const TTLEntry & ttl_entry, MergeTreeDataPart::TTLInfos & ttl_infos, DB::MergeTreeDataPartTTLInfo & ttl_info, Block & block)
void updateTTL(const MergeTreeData::TTLEntry & ttl_entry,
MergeTreeDataPart::TTLInfos & ttl_infos,
DB::MergeTreeDataPartTTLInfo & ttl_info,
Block & block)
{
if (!block.has(ttl_entry.result_column))
ttl_entry.expression->execute(block);