remove unused code and adjust clang-tidy checks (#25405)

remove unused code and adjust clang-tidy checks
This commit is contained in:
Pxl
2023-10-13 16:27:37 +08:00
committed by GitHub
parent 1a25bb65b0
commit f4e2eb6564
17 changed files with 61 additions and 108 deletions

View File

@ -510,11 +510,6 @@ void ColumnString::sort_column(const ColumnSorter* sorter, EqualFlags& flags,
sorter->sort_column(static_cast<const ColumnString&>(*this), flags, perms, range, last_column);
}
void ColumnString::protect() {
get_chars().protect();
get_offsets().protect();
}
void ColumnString::compare_internal(size_t rhs_row_id, const IColumn& rhs, int nan_direction_hint,
int direction, std::vector<uint8>& cmp_res,
uint8* __restrict filter) const {