~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/select.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_SELECT_H
22
 
#define DRIZZLED_COMMAND_SELECT_H
 
21
#ifndef DRIZZLED_STATEMENT_SELECT_H
 
22
#define DRIZZLED_STATEMENT_SELECT_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 Select : public SqlCommand
 
33
class Select : public Statement
34
34
{
35
35
public:
36
36
  Select(enum enum_sql_command in_comm_type,
37
37
         Session *in_session)
38
38
    :
39
 
      SqlCommand(in_comm_type, in_session)
 
39
      Statement(in_session, in_comm_type)
40
40
  {}
41
41
 
42
 
  int execute();
 
42
  bool execute();
43
43
};
44
44
 
45
 
} /* end namespace command */
 
45
} /* end namespace statement */
46
46
 
47
47
} /* end namespace drizzled */
48
48
 
49
 
#endif /* DRIZZLED_COMMAND_DEFAULT_SELECT_H */
 
49
#endif /* DRIZZLED_STATEMENT_DEFAULT_SELECT_H */