Fixed a typo in MergeTreeData::selectMoveDestination().

This commit is contained in:
Vladimir Chebotarev 2019-11-29 10:21:44 +03:00
parent 618a39cc8c
commit f83b28a1c1

View File

@ -3232,7 +3232,7 @@ const MergeTreeData::TTLEntry * MergeTreeData::selectMoveDestination(
auto ttl_info_it = ttl_infos.moves_ttl.find(ttl_entry.result_column);
if (ttl_info_it != ttl_infos.moves_ttl.end()
&& 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;
max_max_ttl = ttl_info_it->second.max;