~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/create_table.h

  • Committer: Brian Aker
  • Date: 2010-08-18 19:37:19 UTC
  • mto: This revision was merged to the branch mainline in revision 1720.
  • Revision ID: brian@tangent.org-20100818193719-bxxzn1pi22styowd
created function that can be used to simply crash the server.

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();