~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/create_table.h

  • Committer: Brian Aker
  • Date: 2010-11-08 18:54:26 UTC
  • mto: (1921.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 1916.
  • Revision ID: brian@tangent.org-20101108185426-fymkf2xnelupf11x
Rename lock methods to be style + well make sense.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
      is_engine_set(false)
43
43
  {
44
44
    memset(&create_info, 0, sizeof(create_info));
45
 
 
46
 
    create_table_message.set_creation_timestamp(time(NULL));
47
 
    create_table_message.set_update_timestamp(time(NULL));
48
45
  }
49
46
 
50
47
  bool execute();
57
54
  HA_CREATE_INFO create_info;
58
55
  AlterInfo alter_info;
59
56
  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;
 
57
  message::Table::ForeignKeyConstraint::ForeignKeyMatchOption fk_match_option;
 
58
  message::Table::ForeignKeyConstraint::ForeignKeyOption fk_update_opt;
 
59
  message::Table::ForeignKeyConstraint::ForeignKeyOption fk_delete_opt;
63
60
 
64
61
  /* The text in a CHANGE COLUMN clause in ALTER TABLE */
65
62
  char *change;
78
75
  bool is_create_table_like;
79
76
  bool is_if_not_exists;
80
77
  bool is_engine_set;
 
78
 
 
79
  bool validateCreateTableOption();
81
80
};
82
81
 
83
82
} /* namespace statement */