~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/parser.cc

Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
397
397
  lex->setField(alter_proto.add_added_field());
398
398
}
399
399
 
 
400
void storeAlterColumnPosition(LEX *lex, const char *position)
 
401
{
 
402
  statement::AlterTable *statement= (statement::AlterTable *)lex->statement;
 
403
 
 
404
  lex->last_field->after=const_cast<char*> (position);
 
405
  statement->alter_info.flags.set(ALTER_COLUMN_ORDER);
 
406
}
 
407
 
400
408
} // namespace parser
401
409
} // namespace drizzled