~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/savepoint.h

  • Committer: Brian Aker
  • Date: 2011-02-22 06:12:02 UTC
  • mfrom: (2190.1.6 drizzle-build)
  • Revision ID: brian@tangent.org-20110222061202-k03czxykqy4x9hjs
List update, header fixes, multiple symbols, and David deletes some code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
class Savepoint : public Statement
34
34
{
35
35
public:
36
 
  Savepoint(Session *in_session)
37
 
    :
38
 
      Statement(in_session)
39
 
  {}
 
36
  Savepoint(Session *in_session, const lex_string_t &ident) :
 
37
    Statement(in_session)
 
38
  {
 
39
    getSession()->getLex()->sql_command= SQLCOM_SAVEPOINT;
 
40
    getSession()->getLex()->ident= ident;
 
41
  }
40
42
 
41
43
  bool execute();
 
44
  bool isTransactional()
 
45
  {
 
46
    return true;
 
47
  }
42
48
};
43
49
 
44
50
} /* namespace statement */