You've already forked mariadb-columnstore-engine
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:
@ -3111,9 +3111,8 @@ uint8_t WE_DMLCommandProc::processUpdate(messageqcpp::ByteStream& bs, std::strin
|
||||
{
|
||||
if (fetchColColwidths[fetchColPos] == datatypes::MAXDECIMALWIDTH)
|
||||
{
|
||||
datatypes::Decimal dec(0, fetchColScales[fetchColPos],
|
||||
rowGroups[txnId]->getPrecision()[fetchColPos],
|
||||
row.getTSInt128Field(fetchColPos).getValPtr());
|
||||
datatypes::Decimal dec(row.getTSInt128Field(fetchColPos), fetchColScales[fetchColPos],
|
||||
rowGroups[txnId]->getPrecision()[fetchColPos]);
|
||||
value = dec.toString(true);
|
||||
break;
|
||||
}
|
||||
@ -3466,9 +3465,8 @@ uint8_t WE_DMLCommandProc::processUpdate(messageqcpp::ByteStream& bs, std::strin
|
||||
{
|
||||
if (fetchColColwidths[fetchColPos] == datatypes::MAXDECIMALWIDTH)
|
||||
{
|
||||
datatypes::Decimal dec(0, fetchColScales[fetchColPos],
|
||||
rowGroups[txnId]->getPrecision()[fetchColPos],
|
||||
row.getTSInt128Field(fetchColPos).getValPtr());
|
||||
datatypes::Decimal dec(row.getTSInt128Field(fetchColPos), fetchColScales[fetchColPos],
|
||||
rowGroups[txnId]->getPrecision()[fetchColPos]);
|
||||
value = dec.toString(true);
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user