~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/create_field.h

  • Committer: Mark Atwood
  • Date: 2011-10-06 04:38:39 UTC
  • mfrom: (2426.3.1 drizzle-docs71)
  • Revision ID: me@mark.atwood.name-20111006043839-qrtu9wtrr04k7ie4
mergeĀ lp:~hingo/drizzle/drizzle-new-pandora-pluginini-keys

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