You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
get rid of pointers for 128 fields
This commit is contained in:
@ -552,8 +552,7 @@ int TypeHandlerXDecimal::storeValueToField64(rowgroup::Row& row, int pos, StoreF
|
||||
|
||||
int TypeHandlerXDecimal::storeValueToField128(rowgroup::Row& row, int pos, StoreField* f) const
|
||||
{
|
||||
int128_t* decPtr = row.getTSInt128Field(pos).getValPtr();
|
||||
return f->store_decimal128(datatypes::Decimal(0, f->scale(), f->precision(), decPtr));
|
||||
return f->store_decimal128(datatypes::Decimal(row.getTSInt128Field(pos), f->scale(), f->precision()));
|
||||
}
|
||||
|
||||
int TypeHandlerStr::storeValueToFieldBlobText(rowgroup::Row& row, int pos, StoreField* f) const
|
||||
|
@ -306,11 +306,6 @@ class TSInt128
|
||||
return s128Value;
|
||||
}
|
||||
|
||||
inline int128_t* getValPtr()
|
||||
{
|
||||
return &s128Value;
|
||||
}
|
||||
|
||||
// print int128_t parts represented as PODs
|
||||
uint8_t printPodParts(char* buf, const int128_t& high, const int128_t& mid, const int128_t& low) const;
|
||||
|
||||
|
Reference in New Issue
Block a user