~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/create_table.h

  • Committer: Stewart Smith
  • Date: 2010-07-13 01:12:39 UTC
  • mto: (1638.10.46)
  • mto: This revision was merged to the branch mainline in revision 1701.
  • Revision ID: stewart@flamingspork.com-20100713011239-nwgjq3r0oxtaax0w
use the ENUM in the table proto instead of duplicating it for Foreign key options and match option. A move in the direction of just having foreign keys in the proto

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
  HA_CREATE_INFO create_info;
58
58
  AlterInfo alter_info;
59
59
  KEY_CREATE_INFO key_create_info;
60
 
  enum Foreign_key::fk_match_opt fk_match_option;
61
 
  enum Foreign_key::fk_option fk_update_opt;
62
 
  enum Foreign_key::fk_option fk_delete_opt;
 
60
  message::Table::ForeignKeyConstraint::ForeignKeyMatchOption fk_match_option;
 
61
  message::Table::ForeignKeyConstraint::ForeignKeyOption fk_update_opt;
 
62
  message::Table::ForeignKeyConstraint::ForeignKeyOption fk_delete_opt;
63
63
 
64
64
  /* The text in a CHANGE COLUMN clause in ALTER TABLE */
65
65
  char *change;