mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Removed redundant template from updateTTL()
method.
This commit is contained in:
parent
62016feab0
commit
cb777f6c50
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user