mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Remove commented out code
This commit is contained in:
parent
ed0099a113
commit
b1b3db09d7
@ -189,6 +189,7 @@ private:
|
||||
|
||||
if (lut[guess - 1].date <= t)
|
||||
return LUTIndex(guess - 1);
|
||||
|
||||
return LUTIndex(guess - 2);
|
||||
}
|
||||
|
||||
@ -212,12 +213,6 @@ private:
|
||||
return i;
|
||||
}
|
||||
|
||||
// template <typename T>
|
||||
// inline LUTIndex toLUTIndex(T t) const
|
||||
// {
|
||||
// return LUTIndex{static_cast<LUTIndex::UnderlyingType>(t) & date_lut_mask};
|
||||
// }
|
||||
|
||||
template <typename V>
|
||||
inline const Values & find(V v) const
|
||||
{
|
||||
@ -275,11 +270,6 @@ public:
|
||||
return toDayNum(i - (lut[i].day_of_month - 1));
|
||||
}
|
||||
|
||||
// inline DayNum toFirstDayNumOfMonth(time_t t) const
|
||||
// {
|
||||
// return toFirstDayNumOfMonth(toDayNum(t));
|
||||
// }
|
||||
|
||||
/// Round down to start of quarter.
|
||||
template <typename V>
|
||||
inline ExtendedDayNum toFirstDayNumOfQuarter(V v) const
|
||||
|
Loading…
Reference in New Issue
Block a user