You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-07 03:22:57 +03:00
Fix crash in release builds that happens in RowGroup::initRow() for wide DECIMAL
This commit is contained in:
@@ -844,7 +844,11 @@ void Row::initToNull()
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 16 :
|
case 16 :
|
||||||
datatypes::Decimal::setWideDecimalNullValue(reinterpret_cast<int128_t&>(data[offsets[i]]));
|
{
|
||||||
|
int128_t* s128ValuePtr = (int128_t*)(&data[offsets[i]]);
|
||||||
|
datatypes::TSInt128::storeUnaligned(s128ValuePtr,
|
||||||
|
datatypes::Decimal128Null);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
*((int64_t*) &data[offsets[i]]) = static_cast<int64_t>(joblist::BIGINTNULL);
|
*((int64_t*) &data[offsets[i]]) = static_cast<int64_t>(joblist::BIGINTNULL);
|
||||||
|
Reference in New Issue
Block a user