Skip to content

Commit

Permalink
Fixed build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Vojtovich committed Mar 23, 2019
1 parent 901e3dd commit c0ba036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/item_sum.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit c0ba036

Please sign in to comment.