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

MCOL-5 - chnage for ubunut build

This commit is contained in:
david hill
2016-07-11 17:15:16 -05:00
parent 7ed3c435da
commit 55858d9eb0

View File

@ -756,7 +756,7 @@ inline void Row::setFloatField(float val, uint32_t colIndex)
//N.B. There is a bug in boost::any or in gcc where, if you store a nan, you will get back a nan,
// but not necessarily the same bits that you put in. This only seems to be for float (double seems
// to work).
if (isnan(val))
if (std::isnan(val))
setUintField<4>(joblist::FLOATNULL, colIndex);
else
*((float *) &data[offsets[colIndex]]) = val;