You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-02 17:22:27 +03:00
Fixes of bugs from ASAN warnings, part one (#2796)
This commit is contained in:
@ -21,8 +21,16 @@
|
||||
|
||||
namespace utils
|
||||
{
|
||||
const uint8_t MAXLEGACYWIDTH = 8ULL;
|
||||
const uint8_t MAXCOLUMNWIDTH = 16ULL;
|
||||
constexpr uint8_t MAXLEGACYWIDTH = 8ULL;
|
||||
constexpr uint8_t MAXCOLUMNWIDTH = 16ULL;
|
||||
|
||||
struct AlignedDeleter
|
||||
{
|
||||
void operator()(uint8_t* ptr)
|
||||
{
|
||||
operator delete[](ptr, std::align_val_t(utils::MAXCOLUMNWIDTH));
|
||||
};
|
||||
};
|
||||
|
||||
inline bool isWide(uint8_t width)
|
||||
{
|
||||
|
Reference in New Issue
Block a user