~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/commit.h

  • Committer: Brian Aker
  • Date: 2010-12-31 06:44:35 UTC
  • mfrom: (2040.4.3 timestamp)
  • Revision ID: brian@tangent.org-20101231064435-g0h53tjfisjty2fy
Partial update to the time 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, 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