diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2019-03-23 17:12:23 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2019-03-23 17:12:23 +0400 |
commit | c0ba036b774b8e35567dccce421890d2199f30ce (patch) | |
tree | 4a7e70702f8f9a44bea61c3d7412ff71ce1dc081 /sql/item_sum.cc | |
parent | 901e3ddf796376f3ac1022e14b2826241d76380f (diff) | |
download | mariadb-git-c0ba036b774b8e35567dccce421890d2199f30ce.tar.gz |
Fixed build failure
Diffstat (limited to 'sql/item_sum.cc')
-rw-r--r-- | sql/item_sum.cc | 2 |
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": |