mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Fixed a typo in MergeTreeData::selectMoveDestination()
.
This commit is contained in:
parent
618a39cc8c
commit
f83b28a1c1
@ -3232,7 +3232,7 @@ const MergeTreeData::TTLEntry * MergeTreeData::selectMoveDestination(
|
|||||||
auto ttl_info_it = ttl_infos.moves_ttl.find(ttl_entry.result_column);
|
auto ttl_info_it = ttl_infos.moves_ttl.find(ttl_entry.result_column);
|
||||||
if (ttl_info_it != ttl_infos.moves_ttl.end()
|
if (ttl_info_it != ttl_infos.moves_ttl.end()
|
||||||
&& ttl_info_it->second.max <= time_of_move
|
&& ttl_info_it->second.max <= time_of_move
|
||||||
&& max_max_ttl >= ttl_info_it->second.max)
|
&& max_max_ttl <= ttl_info_it->second.max)
|
||||||
{
|
{
|
||||||
result = &ttl_entry;
|
result = &ttl_entry;
|
||||||
max_max_ttl = ttl_info_it->second.max;
|
max_max_ttl = ttl_info_it->second.max;
|
||||||
|
Loading…
Reference in New Issue
Block a user