~clint-fewbar/ubuntu/natty/drizzle/beta1-fixes

« back to all changes in this revision

Viewing changes to drizzled/statement/rollback_to_savepoint.h

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2011-03-15 10:41:18 UTC
  • mfrom: (1.2.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20110315104118-eaf0hvlytjdl4zrf
Tags: 2011.03.13-0ubuntu1
* New upstream release.
* Added slave plugin.
* Removed archive, blackhole and blitzdb plugins.
* Moved location of libdrizzle headers.
* Removed drizzleadmin manpage patch.
* Add drizzle_safe_write_string to symbols.

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_ROLLBACK_TO_SAVEPOINT_H
22
 
#define DRIZZLED_STATEMENT_ROLLBACK_TO_SAVEPOINT_H
 
21
#pragma once
23
22
 
24
23
#include <drizzled/statement.h>
25
24
 
36
35
  RollbackToSavepoint(Session *in_session, const lex_string_t &ident) :
37
36
    Statement(in_session)
38
37
  {
39
 
    getSession()->getLex()->sql_command= SQLCOM_ROLLBACK_TO_SAVEPOINT;
40
 
    getSession()->getLex()->ident= ident;
 
38
    set_command(SQLCOM_ROLLBACK_TO_SAVEPOINT);
 
39
    lex().ident= ident;
41
40
  }
42
41
 
43
42
  bool execute();
51
50
 
52
51
} /* namespace drizzled */
53
52
 
54
 
#endif /* DRIZZLED_STATEMENT_ROLLBACK_TO_SAVEPOINT_H */