~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/rollback.h

  • Committer: Brian Aker
  • Date: 2011-01-25 00:51:34 UTC
  • mto: This revision was merged to the branch mainline in revision 2113.
  • Revision ID: brian@tangent.org-20110125005134-4q2lqcwpyj4xuwd0
Merge in the last of the sql_command/push it into the statement object
creation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
class Rollback : public Statement
34
34
{
35
35
public:
36
 
  Rollback(Session *in_session, bool tx_chain_arg, bool tx_release_arg);
 
36
  Rollback(Session *in_session) :
 
37
    Statement(in_session)
 
38
  {
 
39
    getSession()->getLex()->sql_command= SQLCOM_ROLLBACK;
 
40
  }
37
41
 
38
42
  bool execute();
39
43