~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/alter_table.cc

  • Committer: Olaf van der Spek
  • Date: 2011-02-23 15:52:28 UTC
  • mto: (2198.2.3 drizzle-staging)
  • mto: This revision was merged to the branch mainline in revision 2199.
  • Revision ID: olafvdspek@gmail.com-20110223155228-9d8k16dqdnxmc1sl
Use List::front()

Show diffs side-by-side

added added

removed removed

Lines of Context:
441
441
  {
442
442
    my_error(ER_BAD_FIELD_ERROR,
443
443
             MYF(0),
444
 
             alter_info->alter_list.head()->name,
 
444
             alter_info->alter_list.front().name,
445
445
             table->getMutableShare()->getTableName());
446
446
    return true;
447
447
  }
643
643
  {
644
644
    my_error(ER_CANT_DROP_FIELD_OR_KEY,
645
645
             MYF(0),
646
 
             alter_info->drop_list.head()->name);
 
646
             alter_info->drop_list.front().name);
647
647
    return true;
648
648
  }
649
649
 
651
651
  {
652
652
    my_error(ER_CANT_DROP_FIELD_OR_KEY,
653
653
             MYF(0),
654
 
             alter_info->alter_list.head()->name);
 
654
             alter_info->alter_list.front().name);
655
655
    return true;
656
656
  }
657
657