~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2009-09-23 21:40:36 UTC
  • mfrom: (971.6.13 eday-purecov)
  • Revision ID: brian@gaz-20090923214036-bustj80ei8ysbayf
Old message removal by Eric (no actual code has been harmed in the production of
this patch...)

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
}