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

« back to all changes in this revision

Viewing changes to drizzled/statement/create_table.h

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.1.6)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20120619104649-e2l0ggd4oz3um0f4
Tags: upstream-7.1.36-stable
ImportĀ upstreamĀ versionĀ 7.1.36-stable

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#include <drizzled/sql_lex.h>
27
27
 
28
28
namespace drizzled {
29
 
 
30
 
class Session;
31
 
 
32
29
namespace statement {
33
30
 
34
31
class CreateTable : public Statement
46
43
 
47
44
  bool execute();
48
45
 
49
 
  virtual bool executeInner(identifier::Table::const_reference);
 
46
  virtual bool executeInner(const identifier::Table&);
50
47
 
51
48
public:
52
49
  message::Table &createTableMessage()
77
74
  message::Table::ForeignKeyConstraint::ForeignKeyOption fk_delete_opt;
78
75
 
79
76
  /* The text in a CHANGE COLUMN clause in ALTER TABLE */
80
 
  char *change;
 
77
  const char *change;
81
78
 
82
79
  /* An item representing the DEFAULT clause in CREATE/ALTER TABLE */
83
80
  Item *default_value;
85
82
  /* An item representing the ON UPDATE clause in CREATE/ALTER TABLE */
86
83
  Item *on_update_value;
87
84
 
88
 
  enum column_format_type column_format;
 
85
  column_format_type column_format;
89
86
 
90
87
  /* Poly-use */
91
 
  LEX_STRING comment;
 
88
  str_ref comment;
92
89
 
93
90
  bool is_engine_set;
94
91
  bool is_create_table_like;