~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/parser.cc

  • Committer: Brian Aker
  • Date: 2011-02-22 21:46:00 UTC
  • mfrom: (2187.7.6 drizzle-staging)
  • mto: This revision was merged to the branch mainline in revision 2193.
  • Revision ID: brian@tangent.org-20110222214600-kjugwx6i3z8oqqaa
Merge in fixes for REPLICATE

Show diffs side-by-side

added added

removed removed

Lines of Context:
648
648
void buildReplicationOption(LEX *lex, bool arg)
649
649
{
650
650
  statement::CreateSchema *statement= (statement::CreateSchema *)lex->statement;
651
 
  message::ReplicationOptions *options= statement->schema_message.mutable_replication_options();
652
 
  options->set_dont_replicate(arg);
 
651
  message::set_is_replicated(statement->schema_message, arg);
653
652
}
654
653
 
655
654
void buildAddAlterDropIndex(LEX *lex, const char *name, bool is_foreign_key)