diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2018-05-23 18:52:55 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2018-05-24 00:12:25 +0400 |
commit | 54999f4e75f42baca484ae436b382ca8817df1dd (patch) | |
tree | 4ad76d74fc5db987f34b9117f1a1e0d23cf54fe1 /sql/item_func.h | |
parent | 031fa6d4258574379ca3c1cbe912d235e9581982 (diff) | |
download | mariadb-git-54999f4e75f42baca484ae436b382ca8817df1dd.tar.gz |
Use std::isfinite in C++ code
This is addition to parent revision fixing build failures.
Diffstat (limited to 'sql/item_func.h')
-rw-r--r-- | sql/item_func.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_func.h b/sql/item_func.h index d6bb0f18700..14f8e96d061 100644 --- a/sql/item_func.h +++ b/sql/item_func.h @@ -237,7 +237,7 @@ public: */ inline double check_float_overflow(double value) { - return isfinite(value) ? value : raise_float_overflow(); + return std::isfinite(value) ? value : raise_float_overflow(); } /** Throw an error if the input BIGINT value represented by the |