~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/create_table.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:
258
258
      else
259
259
      {
260
260
 
261
 
        for (int32_t x= 0; x < alter_info.alter_proto.added_field_size(); x++)
 
261
        for (int32_t x= 0; x < alter_info.added_fields_proto.added_field_size(); x++)
262
262
        {
263
263
          message::Table::Field *field= createTableMessage().add_field();
264
264
 
265
 
          *field= alter_info.alter_proto.added_field(x);
 
265
          *field= alter_info.added_fields_proto.added_field(x);
266
266
        }
267
267
 
268
268
        res= create_table(getSession(),