1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-1446 CS sorting direction aligned with the server`s.

This commit is contained in:
Roman Nozdrin
2018-05-23 22:31:21 +03:00
committed by Roman Nozdrin
parent 69138ecf32
commit 77b52a6a32
2 changed files with 57 additions and 22 deletions

View File

@ -355,7 +355,8 @@ public:
*/
template<int len> void setUintField_offset(uint64_t val, uint32_t offset);
inline void nextRow(uint32_t size);
inline void prevRow(uint32_t size, uint64_t number);
inline void setUintField(uint64_t val, uint32_t colIndex);
template<int len> void setIntField(int64_t, uint32_t colIndex);
inline void setIntField(int64_t, uint32_t colIndex);
@ -896,6 +897,12 @@ inline void Row::nextRow(uint32_t size)
data += size;
}
inline void Row::prevRow(uint32_t size, uint64_t number = 1)
{
data -= size * number;
}
template<int len>
inline void Row::setUintField(uint64_t val, uint32_t colIndex)
{