You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-01 06:21:41 +03:00
MCOL-641 Addition now works for DECIMAL columns with precision > 18.
This commit is contained in:
@ -49,6 +49,7 @@ ReturnedColumn::ReturnedColumn(): fReturnAll (false),
|
||||
fColPosition(-1),
|
||||
fHasAggregate(false),
|
||||
fInputIndex(-1),
|
||||
fInputOffset(-1),
|
||||
fOutputIndex(-1),
|
||||
fExpressionId ((uint32_t) - 1)
|
||||
{
|
||||
@ -69,6 +70,7 @@ ReturnedColumn::ReturnedColumn(const string& sql):
|
||||
fHasAggregate(false),
|
||||
fData(sql),
|
||||
fInputIndex(-1),
|
||||
fInputOffset(-1),
|
||||
fOutputIndex(-1),
|
||||
fExpressionId ((uint32_t) - 1)
|
||||
{
|
||||
@ -88,6 +90,7 @@ ReturnedColumn::ReturnedColumn(const uint32_t sessionID, const bool returnAll):
|
||||
fColPosition(-1),
|
||||
fHasAggregate(false),
|
||||
fInputIndex(-1),
|
||||
fInputOffset(-1),
|
||||
fOutputIndex(-1),
|
||||
fExpressionId ((uint32_t) - 1)
|
||||
{
|
||||
@ -109,6 +112,7 @@ ReturnedColumn::ReturnedColumn(const ReturnedColumn& rhs, const uint32_t session
|
||||
fHasAggregate(rhs.fHasAggregate),
|
||||
fData(rhs.fData),
|
||||
fInputIndex(rhs.fInputIndex),
|
||||
fInputOffset(rhs.fInputOffset),
|
||||
fOutputIndex(rhs.fOutputIndex),
|
||||
fExpressionId (rhs.fExpressionId)
|
||||
{
|
||||
@ -141,6 +145,7 @@ void ReturnedColumn::serialize(messageqcpp::ByteStream& b) const
|
||||
b << (uint64_t)fColSource;
|
||||
b << (int64_t)fColPosition;
|
||||
b << (uint32_t)fInputIndex;
|
||||
b << (uint32_t)fInputOffset;
|
||||
b << (uint32_t)fOutputIndex;
|
||||
b << (int32_t)fSequence;
|
||||
b << (uint8_t)fReturnAll;
|
||||
@ -163,6 +168,7 @@ void ReturnedColumn::unserialize(messageqcpp::ByteStream& b)
|
||||
b >> (uint64_t&)fColSource;
|
||||
b >> (int64_t&)fColPosition;
|
||||
b >> (uint32_t&)fInputIndex;
|
||||
b >> (uint32_t&)fInputOffset;
|
||||
b >> (uint32_t&)fOutputIndex;
|
||||
b >> (int32_t&)fSequence;
|
||||
b >> (uint8_t&)fReturnAll;
|
||||
|
Reference in New Issue
Block a user