~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/create_field.h

  • Committer: Mark Atwood
  • Date: 2011-10-05 15:24:11 UTC
  • mfrom: (2420.2.4 rf)
  • Revision ID: me@mark.atwood.name-20111005152411-xksdn4vulhmtz2x4
mergeĀ lp:~olafvdspek/drizzle/refactor1a

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*,