~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/create_field.h

  • Committer: Olaf van der Spek
  • Date: 2011-09-19 09:31:36 UTC
  • mto: This revision was merged to the branch mainline in revision 2430.
  • Revision ID: olafvdspek@gmail.com-20110919093136-9snt9mac7cgpfkme
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 * Basically, all information for a new or altered field
30
30
 * definition is contained in the Create_field class.
31
31
 */
32
 
class CreateField :public memory::SqlAlloc
 
32
class CreateField : public memory::SqlAlloc
33
33
{
34
34
public:
35
35
  const char *field_name; /**< Name of the field to be created */
36
36
  const char *change; /**< If done with alter table */
37
37
  const char *after; /**< Put this new Field after this Field */
38
 
  lex_string_t comment; /**< A comment for this field */
 
38
  str_ref comment; /**< A comment for this field */
39
39
  Item *def; /**< Default value for the new field */
40
40
  enum_field_types sql_type; /**< The data type of the new field */
41
41
 
114
114
            const char *length,
115
115
            const char *decimals,
116
116
            uint32_t type_modifier,
117
 
            lex_string_t *comment,
 
117
            str_ref comment,
118
118
            const char *change,
119
119
            List<String> *interval_list,
120
120
            const charset_info_st*,