~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/start_transaction.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:
36
36
  start_transaction_option_t start_transaction_opt;
37
37
 
38
38
public:
39
 
  StartTransaction(Session *in_session, start_transaction_option_t opt= START_TRANS_NO_OPTIONS)
40
 
    :
41
 
      Statement(in_session),
42
 
      start_transaction_opt(opt)
43
 
  {}
 
39
  StartTransaction(Session *in_session, start_transaction_option_t opt= START_TRANS_NO_OPTIONS) :
 
40
    Statement(in_session),
 
41
    start_transaction_opt(opt)
 
42
  {
 
43
    getSession()->getLex()->sql_command= SQLCOM_BEGIN;
 
44
  }
44
45
 
45
46
  bool execute();
46
47
};