Commit c0ba036b authored by Sergey Vojtovich's avatar Sergey Vojtovich

Fixed build failure

parent 901e3ddf
......@@ -2042,7 +2042,7 @@ double Item_sum_std::val_real()
{
DBUG_ASSERT(fixed == 1);
double nr= Item_sum_variance::val_real();
if (isnan(nr))
if (std::isnan(nr))
{
/*
variance_fp_recurrence_next() can overflow in some cases and return "nan":
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment