~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/command.h

  • Committer: Padraig O'Sullivan
  • Date: 2009-08-07 20:07:09 UTC
  • mto: (1115.3.4 captain)
  • mto: This revision was merged to the branch mainline in revision 1117.
  • Revision ID: osullivan.padraig@gmail.com-20090807200709-igc524sy3od6u3hk
Removed the Statement class. Copied any members it had that were needed by
the Session class in to that class. Removed the inheritance from Statement
in the Session class.

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_STATEMENT_H
22
 
#define DRIZZLED_STATEMENT_H
 
21
#ifndef DRIZZLED_COMMAND_H
 
22
#define DRIZZLED_COMMAND_H
23
23
 
24
24
#include <drizzled/server_includes.h>
25
25
#include <drizzled/definitions.h>
38
38
{
39
39
 
40
40
/**
41
 
 * @class Statement
 
41
 * @class SqlCommand
42
42
 * @brief Represents a statement to be executed
43
43
 */
44
 
class Statement
 
44
class SqlCommand
45
45
{
46
46
public:
47
 
  Statement(Session *in_session)
 
47
  SqlCommand(Session *in_session)
48
48
    : 
49
49
      session(in_session)
50
50
  {}
51
51
 
52
 
  virtual ~Statement() {}
 
52
  virtual ~SqlCommand() {}
53
53
 
54
54
  /**
55
55
   * Execute the statement.
70
70
 
71
71
} /* end namespace drizzled */
72
72
 
73
 
#endif /* DRIZZLED_STATEMENT_H */
 
73
#endif /* DRIZZLED_COMMAND_H */