~skinny.moey/drizzle/transaction_log_674588

« back to all changes in this revision

Viewing changes to drizzled/sql_table.cc

  • Committer: Joseph Daly
  • Date: 2010-11-17 03:47:29 UTC
  • Revision ID: skinny.moey@gmail.com-20101117034729-i0h9qmmzpayajfog
move the call to allocate the trx id  to the exact place its needed having it in write_bin_log will result in it being allocated where it is not needed

Show diffs side-by-side

added added

removed removed

Lines of Context:
108
108
void write_bin_log(Session *session, const std::string &query)
109
109
{
110
110
  TransactionServices &transaction_services= TransactionServices::singleton();
111
 
  transaction_services.allocateNewTransactionId();
112
111
  transaction_services.rawStatement(session, query);
113
112
}
114
113