~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/commit.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 Commit : public Statement
34
34
{
35
35
public:
36
 
  Commit(Session *in_session)
37
 
    :
38
 
      Statement(in_session)
39
 
  {}
 
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
  }
40
43
 
41
44
  bool execute();
42
45