~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/command/select.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_SELECT_H
22
 
#define DRIZZLED_STATEMENT_SELECT_H
 
21
#ifndef DRIZZLED_COMMAND_SELECT_H
 
22
#define DRIZZLED_COMMAND_SELECT_H
23
23
 
24
 
#include <drizzled/statement.h>
 
24
#include <drizzled/command.h>
25
25
 
26
26
class Session;
27
27
 
30
30
namespace statement
31
31
{
32
32
 
33
 
class Select : public Statement
 
33
class Select : public SqlCommand
34
34
{
35
35
public:
36
36
  Select(enum enum_sql_command in_comm_type,
37
37
         Session *in_session)
38
38
    :
39
 
      Statement(in_session),
 
39
      SqlCommand(in_session),
40
40
      type(in_comm_type)
41
41
  {}
42
42
 
50
50
 
51
51
} /* end namespace drizzled */
52
52
 
53
 
#endif /* DRIZZLED_STATEMENT_DEFAULT_SELECT_H */
 
53
#endif /* DRIZZLED_COMMAND_DEFAULT_SELECT_H */