mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
dbms: Server: Fixes. Fix for PODArray::swap(). [#METR-18844]
This commit is contained in:
parent
7d4691c271
commit
be56cabd51
@ -486,6 +486,11 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
template <typename T, size_t INITIAL_SIZE, typename TAllocator, size_t pad_right_>
|
||||
void swap(PODArray<T, INITIAL_SIZE, Allocator, pad_right_> & lhs, PODArray<T, INITIAL_SIZE, Allocator, pad_right_> & rhs)
|
||||
{
|
||||
lhs.swap(rhs);
|
||||
}
|
||||
|
||||
/** Для столбцов. Padding-а хватает, чтобы читать и писать xmm-регистр по адресу последнего элемента. */
|
||||
template <typename T, size_t INITIAL_SIZE = 4096, typename TAllocator = Allocator<false>>
|
||||
|
Loading…
Reference in New Issue
Block a user