~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/real.cc

  • Committer: Lee Bieber
  • Date: 2010-11-14 23:15:42 UTC
  • mfrom: (1929.1.42 warning-stack-frame)
  • Revision ID: kalebral@gmail.com-20101114231542-fnnu6ydd2p17n582
Merge Monty - fix bug 672372: some functions use > 32k stack

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
}
130
130
 
131
131
 
132
 
int Field_real::store_decimal(const type::Decimal *dm)
 
132
int Field_real::store_decimal(const my_decimal *dm)
133
133
{
134
134
  double dbl;
135
 
  class_decimal2double(E_DEC_FATAL_ERROR, dm, &dbl);
 
135
  my_decimal2double(E_DEC_FATAL_ERROR, dm, &dbl);
136
136
  return store(dbl);
137
137
}
138
138
 
139
 
type::Decimal *Field_real::val_decimal(type::Decimal *decimal_value)
 
139
my_decimal *Field_real::val_decimal(my_decimal *decimal_value)
140
140
{
141
141
  ASSERT_COLUMN_MARKED_FOR_READ;
142
142
 
143
 
  double2_class_decimal(E_DEC_FATAL_ERROR, val_real(), decimal_value);
 
143
  double2my_decimal(E_DEC_FATAL_ERROR, val_real(), decimal_value);
144
144
  return decimal_value;
145
145
}
146
146