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
MCOL-1822 interim checkin
This commit is contained in:
@ -513,16 +513,12 @@ void TupleUnion::normalize(const Row& in, Row* out)
|
||||
case CalpontSystemCatalog::LONGDOUBLE:
|
||||
{
|
||||
int scale = in.getScale(i);
|
||||
|
||||
long double d = in.getIntField(i);
|
||||
if (scale != 0)
|
||||
{
|
||||
long double d = in.getIntField(i);
|
||||
d /= (uint64_t) pow(10.0, scale);
|
||||
out->setLongDoubleField(d, i);
|
||||
}
|
||||
else
|
||||
out->setLongDoubleField(in.getIntField(i), i);
|
||||
|
||||
out->setLongDoubleField(d, i);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user