You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
MCOL-471 Fix GCC 6.3 support
isnan requires std:: namespace
This commit is contained in:
@ -108,7 +108,7 @@ protected:
|
||||
}
|
||||
exponent = (int)floor(log10( fabs(floatVal)));
|
||||
base = floatVal * pow(10, -1.0*exponent);
|
||||
if (isnan(exponent) || isnan(base))
|
||||
if (std::isnan(exponent) || std::isnan(base))
|
||||
{
|
||||
snprintf(buf, 20, "%f", floatVal);
|
||||
fFloatStr = execplan::removeTrailing0(buf, 20);
|
||||
|
Reference in New Issue
Block a user