~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/parser.cc

  • Committer: Stewart Smith
  • Date: 2011-02-28 01:21:43 UTC
  • mto: (2241.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2242.
  • Revision ID: stewart@flamingspork.com-20110228012143-6p0148nqslz0mn9v
rename old alter table proto to AddedFields as it really has a dual purpose and isn't how we should structure Alter Table.

Show diffs side-by-side

added added

removed removed

Lines of Context:
390
390
  lex->charset= NULL;
391
391
  statement->column_format= COLUMN_FORMAT_TYPE_DEFAULT;
392
392
 
393
 
  message::AlterTable &alter_proto= ((statement::CreateTable *)lex->statement)->alter_info.alter_proto;
394
 
  lex->setField(alter_proto.add_added_field());
 
393
  message::AddedFields &added_fields_proto= ((statement::CreateTable *)lex->statement)->alter_info.added_fields_proto;
 
394
  lex->setField(added_fields_proto.add_added_field());
395
395
}
396
396
 
397
397
void storeAlterColumnPosition(LEX *lex, const char *position)