~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_yacc.yy

  • Committer: Stewart Smith
  • Date: 2011-03-02 04:23:05 UTC
  • mto: (2241.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2242.
  • Revision ID: stewart@flamingspork.com-20110302042305-q6bjqjn4jq2rqmtm
remove enum_enable_or_disable which was only used for alter_info.keys_onoff. We can just use the message::AlterTable now

Show diffs side-by-side

added added

removed removed

Lines of Context:
1826
1826
          {
1827
1827
            statement::AlterTable *statement= (statement::AlterTable *)Lex->statement;
1828
1828
 
1829
 
            statement->alter_info.keys_onoff= DISABLE;
1830
1829
            statement->alter_info.flags.set(ALTER_KEYS_ONOFF);
1831
1830
 
1832
1831
            message::AlterTable::AlterKeysOnOff *alter_keys_operation;
1837
1836
          {
1838
1837
            statement::AlterTable *statement= (statement::AlterTable *)Lex->statement;
1839
1838
 
1840
 
            statement->alter_info.keys_onoff= ENABLE;
1841
1839
            statement->alter_info.flags.set(ALTER_KEYS_ONOFF);
1842
1840
            message::AlterTable::AlterKeysOnOff *alter_keys_operation;
1843
1841
            alter_keys_operation= Lex->alter_table()->mutable_alter_keys_onoff();