~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/alter_schema.h

  • Committer: Jay Pipes
  • Date: 2009-09-21 14:33:44 UTC
  • mfrom: (1126.10.26 dtrace-probes)
  • mto: This revision was merged to the branch mainline in revision 1133.
  • Revision ID: jpipes@serialcoder-20090921143344-jnarp7gcn6zmg19c
Merge fixes from Trond and Padraig on dtrace 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 */