~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/math/real.cc

  • Committer: Eric Day
  • Date: 2009-08-31 23:50:37 UTC
  • mto: This revision was merged to the branch mainline in revision 1134.
  • Revision ID: eday@oddments.org-20090831235037-hwwe6zhq94o4lxtd
Removed purecov messages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
  assert(fixed == 1);
27
27
  double nr= val_real();
28
28
  if (null_value)
29
 
    return 0; /* purecov: inspected */
 
29
    return 0;
30
30
  str->set_real(nr,decimals, &my_charset_bin);
31
31
  return str;
32
32
}
37
37
  assert(fixed);
38
38
  double nr= val_real();
39
39
  if (null_value)
40
 
    return 0; /* purecov: inspected */
 
40
    return 0;
41
41
  double2my_decimal(E_DEC_FATAL_ERROR, nr, decimal_value);
42
42
  return decimal_value;
43
43
}