~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/commit.h

  • Committer: Brian Aker
  • Date: 2011-01-25 07:24:41 UTC
  • mfrom: (2104.3.14 alter-table)
  • Revision ID: brian@tangent.org-20110125072441-gf9f14lkxjhvvku9
MergeĀ inĀ alter/parser

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