1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

MCOL-641 Addition now works for DECIMAL columns with precision > 18.

This commit is contained in:
drrtuy
2020-01-26 11:07:45 +03:00
committed by Roman Nozdrin
parent 54c152d6c8
commit 98213c0094
11 changed files with 175 additions and 14 deletions

View File

@ -69,6 +69,7 @@ typedef const struct charset_info_st CHARSET_INFO;
namespace rowgroup
{
//using cscType = execplan::CalpontSystemCatalog::ColDataType;
const int16_t rgCommonSize = 8192;
/*
@ -447,6 +448,8 @@ public:
uint64_t getNullValue(uint32_t colIndex) const;
bool isNullValue(uint32_t colIndex) const;
template<typename T, uint8_t cscT, uint32_t len>
inline bool isNullValue_offset(uint32_t offset) const;
// when NULLs are pulled out via getIntField(), they come out with these values.
// Ex: the 1-byte int null value is 0x80. When it gets cast to an int64_t