~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to drizzled/statement/create_table.h

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-10-02 14:17:48 UTC
  • mfrom: (1.1.1 upstream)
  • mto: (2.1.17 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20101002141748-m6vbfbfjhrw1153e
Tags: 2010.09.1802-1
* New upstream release.
* Removed pid-file argument hack.
* Updated GPL-2 address to be new address.
* Directly copy in drizzledump.1 since debian doesn't have sphinx 1.0 yet.
* Link to jquery from libjs-jquery. Add it as a depend.
* Add drizzled.8 symlink to the install files.

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));
45
48
  }
46
49
 
47
50
  bool execute();
48
 
  message::Table create_table_proto;
 
51
  message::Table create_table_message;
 
52
  message::Table &createTableMessage()
 
53
  {
 
54
    return create_table_message;
 
55
  };
49
56
  message::Table::Field *current_proto_field;
50
57
  HA_CREATE_INFO create_info;
51
58
  AlterInfo alter_info;
52
59
  KEY_CREATE_INFO key_create_info;
53
 
  enum Foreign_key::fk_match_opt fk_match_option;
54
 
  enum Foreign_key::fk_option fk_update_opt;
55
 
  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;
56
63
 
57
64
  /* The text in a CHANGE COLUMN clause in ALTER TABLE */
58
65
  char *change;
71
78
  bool is_create_table_like;
72
79
  bool is_if_not_exists;
73
80
  bool is_engine_set;
 
81
 
 
82
  bool validateCreateTableOption();
74
83
};
75
84
 
76
85
} /* namespace statement */