summaryrefslogtreecommitdiff
path: root/sql/item_sum.cc
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2019-03-23 17:12:23 +0400
committerSergey Vojtovich <svoj@mariadb.org>2019-03-23 17:12:23 +0400
commitc0ba036b774b8e35567dccce421890d2199f30ce (patch)
tree4a7e70702f8f9a44bea61c3d7412ff71ce1dc081 /sql/item_sum.cc
parent901e3ddf796376f3ac1022e14b2826241d76380f (diff)
downloadmariadb-git-c0ba036b774b8e35567dccce421890d2199f30ce.tar.gz
Fixed build failure
Diffstat (limited to 'sql/item_sum.cc')
-rw-r--r--sql/item_sum.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_sum.cc b/sql/item_sum.cc
index f10fd61bd18..9fa146593d8 100644
--- a/sql/item_sum.cc
+++ b/sql/item_sum.cc
@@ -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":