~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/set_var.cc

Style cleanup around TransactionContext::modified_non_trans_table and dead code removal

Show diffs side-by-side

added added

removed removed

Lines of Context:
1378
1378
    {
1379
1379
      /* We changed to auto_commit mode */
1380
1380
      session->options&= ~(uint64_t) (OPTION_BEGIN);
1381
 
      session->transaction.all.modified_non_trans_table= false;
1382
1381
      session->server_status|= SERVER_STATUS_AUTOCOMMIT;
1383
1382
      TransactionServices &transaction_services= TransactionServices::singleton();
1384
1383
      if (transaction_services.ha_commit_trans(session, true))
1386
1385
    }
1387
1386
    else
1388
1387
    {
1389
 
      session->transaction.all.modified_non_trans_table= false;
1390
1388
      session->server_status&= ~SERVER_STATUS_AUTOCOMMIT;
1391
1389
    }
1392
1390
  }