~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/load.h

  • Committer: Mark Atwood
  • Date: 2011-10-27 05:08:12 UTC
  • mfrom: (2445.1.11 rf)
  • Revision ID: me@mark.atwood.name-20111027050812-1icvs72lb0u4xdc4
mergeĀ lp:~olafvdspek/drizzle/refactor8

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_LOAD_H
22
 
#define DRIZZLED_STATEMENT_LOAD_H
 
21
#pragma once
23
22
 
24
23
#include <drizzled/statement.h>
25
24
 
26
 
namespace drizzled
27
 
{
28
 
class Session;
29
 
 
30
 
namespace statement
31
 
{
 
25
namespace drizzled {
 
26
namespace statement {
32
27
 
33
28
class Load : public Statement
34
29
{
35
30
public:
36
 
  Load(Session *in_session)
37
 
    :
38
 
      Statement(in_session)
39
 
  {}
 
31
  Load(Session *in_session) :
 
32
    Statement(in_session)
 
33
  {
 
34
    set_command(SQLCOM_LOAD);
 
35
  }
40
36
 
41
37
  bool execute();
 
38
  bool isTransactional()
 
39
  {
 
40
    return true;
 
41
  }
42
42
 
43
43
  /*
44
44
    Pointers to part of LOAD DATA statement that should be rewritten
52
52
 
53
53
} /* namespace drizzled */
54
54
 
55
 
#endif /* DRIZZLED_STATEMENT_LOAD_H */