~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Monty Taylor
  • Date: 2009-01-30 04:39:04 UTC
  • mto: (779.7.3 devel)
  • mto: This revision was merged to the branch mainline in revision 823.
  • Revision ID: mordred@inaugust.com-20090130043904-gphdonl7m6zdz06v
Cleaned up warnings up through innodb.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
class Item_date :public Item_func
30
30
{
31
31
public:
 
32
  using Item_func::tmp_table_field;
 
33
 
32
34
  Item_date() :Item_func() {}
33
35
  Item_date(Item *a) :Item_func(a) {}
34
36
  enum Item_result result_type () const { return STRING_RESULT; }
43
45
    decimals=0;
44
46
    max_length=MAX_DATE_WIDTH*MY_CHARSET_BIN_MB_MAXLEN;
45
47
  }
 
48
 
46
49
  Field *tmp_table_field(Table *table)
47
50
  {
48
51
    return tmp_table_field_from_field_type(table, 0);
68
71
  Item_date_func(Item *a,Item *b) :Item_str_func(a,b) {}
69
72
  Item_date_func(Item *a,Item *b, Item *c) :Item_str_func(a,b,c) {}
70
73
  enum_field_types field_type() const { return DRIZZLE_TYPE_DATETIME; }
 
74
 
 
75
  using Item_func::tmp_table_field;
71
76
  Field *tmp_table_field(Table *table)
72
77
  {
73
78
    return tmp_table_field_from_field_type(table, 0);