~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/show_create.h

  • Committer: Jay Pipes
  • Date: 2009-08-16 14:14:39 UTC
  • mfrom: (1100.3.35 cleanup-exec-command)
  • mto: This revision was merged to the branch mainline in revision 1117.
  • Revision ID: jpipes@serialcoder-20090816141439-6ltll44rh3kq7io5
Merge Padraig's continued cleanup of exec command classes plus a couple merge conflict resolutions...

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_CREATE_H
22
 
#define DRIZZLED_COMMAND_SHOW_CREATE_H
 
21
#ifndef DRIZZLED_STATEMENT_SHOW_CREATE_H
 
22
#define DRIZZLED_STATEMENT_SHOW_CREATE_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 ShowCreate : public SqlCommand
 
33
class ShowCreate : public Statement
34
34
{
35
35
public:
36
 
  ShowCreate(enum enum_sql_command in_comm_type,
37
 
             Session *in_session)
 
36
  ShowCreate(Session *in_session)
38
37
    :
39
 
      SqlCommand(in_comm_type, in_session)
 
38
      Statement(in_session, SQLCOM_SHOW_CREATE)
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_CREATE_H */
 
48
#endif /* DRIZZLED_STATEMENT_SHOW_CREATE_H */