You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-4876 This patch enables continues buffer to be used by ColumnCommand and aligns BPP::blockData
that in most cases was unaligned
This commit is contained in:
@ -463,6 +463,7 @@ public:
|
||||
for the other types as well as the getters.
|
||||
*/
|
||||
template<int len> void setUintField_offset(uint64_t val, uint32_t offset);
|
||||
template<typename T>void setIntField_offset(const T val, const uint32_t offset);
|
||||
inline void nextRow(uint32_t size);
|
||||
inline void prevRow(uint32_t size, uint64_t number);
|
||||
|
||||
@ -1210,6 +1211,12 @@ inline void Row::setUintField_offset(uint64_t val, uint32_t offset)
|
||||
}
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
inline void Row::setIntField_offset(const T val, const uint32_t offset)
|
||||
{
|
||||
*((T*) &data[offset]) = val;
|
||||
}
|
||||
|
||||
inline void Row::nextRow(uint32_t size)
|
||||
{
|
||||
data += size;
|
||||
|
Reference in New Issue
Block a user