~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/float.cc

  • Committer: David Shrewsbury
  • Date: 2011-01-13 18:43:55 UTC
  • mto: (2081.1.2 drizzle)
  • mto: This revision was merged to the branch mainline in revision 2082.
  • Revision ID: shrewsbury.dave@gmail.com-20110113184355-wsmu0grg7tkxwdsc
Push ALTER SCHEMA through replication stream as proper GPB message instead of RAW_SQL.

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
  return (int64_t) rint(value);
75
75
}
76
76
 
77
 
my_decimal *Item_float::val_decimal(my_decimal *decimal_value)
 
77
type::Decimal *Item_float::val_decimal(type::Decimal *decimal_value)
78
78
{
79
79
  // following assert is redundant, because fixed=1 assigned in constructor
80
80
  assert(fixed == 1);
81
 
  double2my_decimal(E_DEC_FATAL_ERROR, value, decimal_value);
 
81
  double2_class_decimal(E_DEC_FATAL_ERROR, value, decimal_value);
82
82
  return (decimal_value);
83
83
}
84
84