~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field_conv.cc

  • Committer: Brian Aker
  • Date: 2010-12-25 01:27:46 UTC
  • mto: This revision was merged to the branch mainline in revision 2031.
  • Revision ID: brian@tangent.org-20101225012746-74bry8287d0aym8s
Change my_decimal to Decimal

Show diffs side-by-side

added added

removed removed

Lines of Context:
371
371
 
372
372
static void do_field_decimal(CopyField *copy)
373
373
{
374
 
  my_decimal value;
 
374
  type::Decimal value;
375
375
  copy->to_field->store_decimal(copy->from_field->val_decimal(&value));
376
376
}
377
377
 
851
851
    return to->store(from->val_real());
852
852
  else if (from->result_type() == DECIMAL_RESULT)
853
853
  {
854
 
    my_decimal buff;
 
854
    type::Decimal buff;
855
855
    return to->store_decimal(from->val_decimal(&buff));
856
856
  }
857
857
  else