~diego-fmpwizard/drizzle/plugin-functions-error-messages

« back to all changes in this revision

Viewing changes to drizzled/statement/show_engine_status.h

  • Committer: Brian Aker
  • Date: 2009-08-17 00:51:17 UTC
  • mfrom: (1115.3.4 captain)
  • Revision ID: brian@gaz-20090817005117-j9der2dkee8pwbw5
Merge Jay

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#ifndef DRIZZLED_COMMAND_SHOW_ENGINE_STATUS_H
22
 
#define DRIZZLED_COMMAND_SHOW_ENGINE_STATUS_H
 
21
#ifndef DRIZZLED_STATEMENT_SHOW_ENGINE_STATUS_H
 
22
#define DRIZZLED_STATEMENT_SHOW_ENGINE_STATUS_H
23
23
 
24
 
#include <drizzled/command.h>
 
24
#include <drizzled/statement.h>
25
25
 
26
26
class Session;
27
27
 
28
28
namespace drizzled
29
29
{
30
 
namespace command
 
30
namespace statement
31
31
{
32
32
 
33
 
class ShowEngineStatus : public SqlCommand
 
33
class ShowEngineStatus : public Statement
34
34
{
35
35
public:
36
 
  ShowEngineStatus(enum enum_sql_command in_comm_type,
37
 
                   Session *in_session)
 
36
  ShowEngineStatus(Session *in_session)
38
37
    :
39
 
      SqlCommand(in_comm_type, in_session)
 
38
      Statement(in_session, SQLCOM_SHOW_ENGINE_STATUS)
40
39
  {}
41
40
 
42
 
  int execute();
 
41
  bool execute();
43
42
};
44
43
 
45
 
} /* end namespace command */
 
44
} /* end namespace statement */
46
45
 
47
46
} /* end namespace drizzled */
48
47
 
49
 
#endif /* DRIZZLED_COMMAND_SHOW_ENGINE_STATUS_H */
 
48
#endif /* DRIZZLED_STATEMENT_SHOW_ENGINE_STATUS_H */