~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/create_table.h

LOCK_open to boost.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 
34
34
class CreateTable : public Statement
35
35
{
36
 
  virtual bool check(const TableIdentifier&);
37
 
 
38
36
public:
39
37
  CreateTable(Session *in_session)
40
38
    :
44
42
      is_engine_set(false)
45
43
  {
46
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));
47
48
  }
48
49
 
49
50
  bool execute();
56
57
  HA_CREATE_INFO create_info;
57
58
  AlterInfo alter_info;
58
59
  KEY_CREATE_INFO key_create_info;
59
 
  message::Table::ForeignKeyConstraint::ForeignKeyMatchOption fk_match_option;
60
 
  message::Table::ForeignKeyConstraint::ForeignKeyOption fk_update_opt;
61
 
  message::Table::ForeignKeyConstraint::ForeignKeyOption fk_delete_opt;
 
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;
62
63
 
63
64
  /* The text in a CHANGE COLUMN clause in ALTER TABLE */
64
65
  char *change;