mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Merge pull request #19566 from ClickHouse/tavplubix-patch-3
DateLUTImpl::addYears(...): suppress UBSan
This commit is contained in:
commit
3db7f48aa9
@ -863,7 +863,7 @@ public:
|
|||||||
return lut[result_day].date + time_offset;
|
return lut[result_day].date + time_offset;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline DayNum addYears(DayNum d, Int64 delta) const
|
inline NO_SANITIZE_UNDEFINED DayNum addYears(DayNum d, Int64 delta) const
|
||||||
{
|
{
|
||||||
const Values & values = lut[d];
|
const Values & values = lut[d];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user