1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-4394 Followup

This commit is contained in:
Roman Nozdrin
2020-11-23 15:50:59 +00:00
parent c707f72f0c
commit d33f1b36b4
2 changed files with 1 additions and 7 deletions

View File

@ -590,12 +590,6 @@ class VDecimal: public TSInt128
return toDouble(); return toDouble();
} }
inline long double toLongDouble() const
{
datatypes::TFloat128 y(s128Value);
return static_cast<long double>(y);
}
bool operator==(const VDecimal& rhs) const bool operator==(const VDecimal& rhs) const
{ {
if (precision > datatypes::INT64MAXPRECISION && if (precision > datatypes::INT64MAXPRECISION &&

View File

@ -185,7 +185,7 @@ class TSInt128
return toDouble(); return toDouble();
} }
inline long double toDouble() const inline double toDouble() const
{ {
return static_cast<double>(s128Value); return static_cast<double>(s128Value);
} }