~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/alter_schema.h

  • Committer: Padraig O'Sullivan
  • Date: 2009-09-13 01:03:01 UTC
  • mto: (1126.9.2 captain-20090915-01)
  • mto: This revision was merged to the branch mainline in revision 1133.
  • Revision ID: osullivan.padraig@gmail.com-20090913010301-tcvvezipx1124acy
Added calls to the dtrace delete begin/end probes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#ifndef DRIZZLED_STATEMENT_ALTER_SCHEMA_H
22
22
#define DRIZZLED_STATEMENT_ALTER_SCHEMA_H
23
23
 
24
 
#include <drizzled/statement/create_schema.h>
 
24
#include <drizzled/statement.h>
 
25
 
 
26
class Session;
25
27
 
26
28
namespace drizzled
27
29
{
28
 
class Session;
29
 
 
30
30
namespace statement
31
31
{
32
32
 
33
 
class AlterSchema : public CreateSchema
 
33
class AlterSchema : public Statement
34
34
{
35
35
public:
36
36
  AlterSchema(Session *in_session)
37
37
    :
38
 
      CreateSchema(in_session)
39
 
  { 
40
 
    schema_message.set_update_timestamp(time(NULL));
41
 
  }
 
38
      Statement(in_session, SQLCOM_ALTER_DB)
 
39
  {}
42
40
 
43
41
  bool execute();
44
42
};
45
43
 
46
 
} /* namespace statement */
 
44
} /* end namespace statement */
47
45
 
48
 
} /* namespace drizzled */
 
46
} /* end namespace drizzled */
49
47
 
50
48
#endif /* DRIZZLED_STATEMENT_ALTER_SCHEMA_H */