~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/create_field.h

  • Committer: Brian Aker
  • Date: 2010-12-20 19:20:57 UTC
  • mto: This revision was merged to the branch mainline in revision 2016.
  • Revision ID: brian@tangent.org-20101220192057-1ch4b9uo008d8rje
Merge in additional fixes for sign, plus alter table, plus TIME on
processlist.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
  LEX_STRING comment; /**< A comment for this field */
44
44
  Item *def; /**< Default value for the new field */
45
45
  enum enum_field_types sql_type; /**< The data type of the new field */
 
46
 
 
47
  enum_field_types type() const
 
48
  {
 
49
    return sql_type;
 
50
  }
 
51
 
46
52
  /**
47
53
   * At various stages in execution this can be length of field in bytes or
48
54
   * max number of characters.
126
132
            enum column_format_type column_format);
127
133
};
128
134
 
 
135
std::ostream& operator<<(std::ostream& output, const CreateField &field);
 
136
 
129
137
} /* namespace drizzled */
130
138
 
131
139
#endif /* DRIZZLED_CREATE_FIELD_H */