Commit e9b3bfa1 authored by Vlad Lesin's avatar Vlad Lesin

One more compilation error fix for c++11 in runtime code

parent 5fd42a74
......@@ -35,6 +35,11 @@
#include "sql_parse.h"
#include "sp_head.h"
#if defined __cplusplus && 201103L <= __cplusplus
#include <cmath>
template <typename T> bool isnan(T arg) { return std::isnan(arg); }
#endif //__cplusplus && 201103L <= __cplusplus
/**
Calculate the affordable RAM limit for structures like TREE or Unique
used in Item_sum_*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment