~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/create_field.h

  • Committer: Lee Bieber
  • Date: 2011-03-17 23:23:47 UTC
  • mfrom: (2240.1.3 build)
  • Revision ID: kalebral@gmail.com-20110317232347-15tn59mrrfx2ubvm
Merge Stewart - 728855: BLOB column can have default '' (empty string) in CREATE TABLE but not ALTER TABLE ALTER 
Merge Stewart - 728856: CREATE TABLE t1 (a int default 'aoeu'); succeeds
Merge Stewart - 730420: ER_TOO_BIG_FIELDLENGTH can report allowed size in bytes or characters depending on codepath producing the error
Merge Stewart - dbqp source (and all its libs) should use emacs python mode, not emacs C mode

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
            char *length,
121
121
            char *decimals,
122
122
            uint32_t type_modifier,
123
 
            Item *default_value,
124
 
            Item *on_update_value,
125
123
            LEX_STRING *comment,
126
124
            char *change,
127
125
            List<String> *interval_list,
128
126
            const CHARSET_INFO * const cs,
129
127
            uint32_t uint_geom_type,
130
128
            enum column_format_type column_format);
 
129
 
 
130
  bool setDefaultValue(Item *default_value, Item *on_update_item);
131
131
};
132
132
 
133
133
std::ostream& operator<<(std::ostream& output, const CreateField &field);