You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
Fix build issues
Fix jemalloc issues and a namespace issue
This commit is contained in:
@ -485,7 +485,7 @@ inline const std::string& TreeNode::getStrVal()
|
||||
// MCOL-299 Print scientific with 5 mantissa and no + sign for exponent
|
||||
int exponent = (int)floor(log10( fabs(fResult.floatVal))); // This will round down the exponent
|
||||
double base = fResult.floatVal * pow(10, -1.0*exponent);
|
||||
if (isnan(exponent) || isnan(base))
|
||||
if (std::isnan(exponent) || std::isnan(base))
|
||||
{
|
||||
snprintf(tmp, 312, "%f", fResult.floatVal);
|
||||
fResult.strVal = removeTrailing0(tmp, 312);
|
||||
@ -517,7 +517,7 @@ inline const std::string& TreeNode::getStrVal()
|
||||
// MCOL-299 Print scientific with 9 mantissa and no + sign for exponent
|
||||
int exponent = (int)floor(log10( fabs(fResult.doubleVal))); // This will round down the exponent
|
||||
double base = fResult.doubleVal * pow(10, -1.0*exponent);
|
||||
if (isnan(exponent) || isnan(base))
|
||||
if (std::isnan(exponent) || std::isnan(base))
|
||||
{
|
||||
snprintf(tmp, 312, "%f", fResult.doubleVal);
|
||||
fResult.strVal = removeTrailing0(tmp, 312);
|
||||
|
Reference in New Issue
Block a user