diff --git a/utils/rowgroup/rowgroup.h b/utils/rowgroup/rowgroup.h index d3277ee6f..e9ee5e87b 100644 --- a/utils/rowgroup/rowgroup.h +++ b/utils/rowgroup/rowgroup.h @@ -1348,7 +1348,7 @@ inline void Row::setLongDoubleField(const long double& val, uint32_t colIndex) uint8_t* p = &data[offsets[colIndex]]; *reinterpret_cast(p) = val; #ifdef MASK_LONGDOUBLE - *(reinterpret_cast(p)+1) &= 0x000000000000FFFFULL; + memset(p+10, 0, 6); #endif }