diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2018-05-25 22:16:04 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2018-05-26 13:26:32 +0400 |
commit | 7ffd7fe9627d1f750a3712aebb4503e5ae8aea8e (patch) | |
tree | b7bd09a6a89983275c3223be08c359a6832bf0ed /sql | |
parent | bc469a0bdf85400f7a63834f5b7af1a513dcdec9 (diff) | |
download | mariadb-git-7ffd7fe9627d1f750a3712aebb4503e5ae8aea8e.tar.gz |
Cleanup isnan() portability checks
Diffstat (limited to 'sql')
-rw-r--r-- | sql/field.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/field.cc b/sql/field.cc index 35c5fe18175..6fbe92e76fe 100644 --- a/sql/field.cc +++ b/sql/field.cc @@ -4683,7 +4683,7 @@ int truncate_double(double *nr, uint field_length, uint dec, int error= 0; double res= *nr; - if (isnan(res)) + if (std::isnan(res)) { *nr= 0; return -1; |