~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sys_var.cc

  • Committer: David Shrewsbury
  • Date: 2011-01-20 14:08:19 UTC
  • mto: (2109.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2110.
  • Revision ID: shrewsbury.dave@gmail.com-20110120140819-ctwi0etrhsaaumud
Initial change to use references to Session in TransactionServices methods rather than pointers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1344
1344
      session->options&= ~(uint64_t) (OPTION_BEGIN);
1345
1345
      session->server_status|= SERVER_STATUS_AUTOCOMMIT;
1346
1346
      TransactionServices &transaction_services= TransactionServices::singleton();
1347
 
      if (transaction_services.commitTransaction(session, true))
 
1347
      if (transaction_services.commitTransaction(*session, true))
1348
1348
        return 1;
1349
1349
    }
1350
1350
    else