1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

MCOL-1385 Initial 10.3 support

This commit is contained in:
Andrew Hutchings
2018-08-02 14:52:15 +01:00
parent 57367c8ec2
commit 443a2867c4
26 changed files with 384 additions and 348 deletions

View File

@ -24,6 +24,7 @@
#include "functor.h"
using namespace std;
namespace funcexp
{
@ -126,7 +127,7 @@ protected:
exponent = (int)floor(log10( fabs(floatVal)));
base = floatVal * pow(10, -1.0 * exponent);
if (std::isnan(exponent) || std::isnan(base))
if (isnan(exponent) || isnan(base))
{
snprintf(buf, 20, "%f", floatVal);
fFloatStr = execplan::removeTrailing0(buf, 20);