~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/commit.h

  • Committer: Monty Taylor
  • Date: 2010-12-26 03:15:44 UTC
  • mto: This revision was merged to the branch mainline in revision 2038.
  • Revision ID: mordred@inaugust.com-20101226031544-1cf3raipu53fnmyj
Through page.

Show diffs side-by-side

added added

removed removed

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