~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/functions/func.cc

MergedĀ fromĀ lee.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
 
20
using namespace std;
20
21
#include <drizzled/server_includes.h>
21
22
 
22
23
#include CSTDINT_H
508
509
 
509
510
double Item_func::fix_result(double value)
510
511
{
511
 
  if (CMATH_NAMESPACE::isfinite(value))
 
512
  if (isfinite(value))
512
513
    return value;
513
514
  null_value=1;
514
515
  return 0.0;