~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/parser.cc

  • Committer: Brian Aker
  • Date: 2011-02-05 10:53:26 UTC
  • mto: (2147.3.1 alter-table)
  • mto: This revision was merged to the branch mainline in revision 2148.
  • Revision ID: brian@tangent.org-20110205105326-hjmn5xehw5rs46tp
Fix bad error in warnings/errors.

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