~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.cc

Initial submit of code and tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
2977
2977
                       Item *default_value, Item *on_update_value,
2978
2978
                       LEX_STRING *comment,
2979
2979
                       char *change,
2980
 
                       List<String> *interval_list, const CHARSET_INFO * const cs)
 
2980
                       List<String> *interval_list, const CHARSET_INFO * const cs,
 
2981
                       virtual_column_info *vcol_info)
2981
2982
{
2982
2983
  register Create_field *new_field;
2983
2984
  LEX  *lex= thd->lex;
3048
3049
  if (!(new_field= new Create_field()) ||
3049
3050
      new_field->init(thd, field_name->str, type, length, decimals, type_modifier,
3050
3051
                      default_value, on_update_value, comment, change,
3051
 
                      interval_list, cs, 0, column_format))
 
3052
                      interval_list, cs, 0, column_format,
 
3053
                      vcol_info))
3052
3054
    return(1);
3053
3055
 
3054
3056
  lex->alter_info.create_list.push_back(new_field);