~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/time/date.h

  • Committer: Brian Aker
  • Date: 2010-12-25 00:28:49 UTC
  • mto: This revision was merged to the branch mainline in revision 2031.
  • Revision ID: brian@tangent.org-20101225002849-g73mg6ihulajis0o
First pass in refactoring of the name of my_decimal.

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
    return tmp_table_field_from_field_type(table, 0);
65
65
  }
66
66
  bool result_as_int64_t() { return true; }
67
 
  type::Decimal *val_decimal(type::Decimal *decimal_value)
 
67
  my_decimal *val_decimal(my_decimal *decimal_value)
68
68
  {
69
69
    assert(fixed == 1);
70
70
    return  val_decimal_from_date(decimal_value);
92
92
  }
93
93
  bool result_as_int64_t() { return true; }
94
94
  double val_real() { return (double) val_int(); }
95
 
  type::Decimal *val_decimal(type::Decimal *decimal_value)
 
95
  my_decimal *val_decimal(my_decimal *decimal_value)
96
96
  {
97
97
    assert(fixed == 1);
98
98
    return  val_decimal_from_date(decimal_value);