1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

get rid of pointers for 128 fields

This commit is contained in:
Leonid Fedorov
2022-08-26 15:12:22 +00:00
parent 0863ecd279
commit d2432f9bf6
11 changed files with 40 additions and 82 deletions

View File

@ -50,7 +50,6 @@ ReturnedColumn::ReturnedColumn()
, fColPosition(-1)
, fHasAggregate(false)
, fInputIndex(-1)
, fInputOffset(-1)
, fOutputIndex(-1)
, fExpressionId((uint32_t)-1)
{
@ -71,7 +70,6 @@ ReturnedColumn::ReturnedColumn(const string& sql)
, fHasAggregate(false)
, fData(sql)
, fInputIndex(-1)
, fInputOffset(-1)
, fOutputIndex(-1)
, fExpressionId((uint32_t)-1)
{
@ -91,7 +89,6 @@ ReturnedColumn::ReturnedColumn(const uint32_t sessionID, const bool returnAll)
, fColPosition(-1)
, fHasAggregate(false)
, fInputIndex(-1)
, fInputOffset(-1)
, fOutputIndex(-1)
, fExpressionId((uint32_t)-1)
{
@ -113,7 +110,6 @@ 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)
{
@ -146,7 +142,6 @@ 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;
@ -169,7 +164,6 @@ 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;