~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/transaction_log/transaction_log.cc

  • Committer: Joseph Daly
  • Date: 2010-09-12 02:04:41 UTC
  • mto: (1759.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1760.
  • Revision ID: jdaly@rx7-20100912020441-3hc8uahm6ar25i52
fix spacing

Show diffs side-by-side

added added

removed removed

Lines of Context:
216
216
                    " bytes at offset %" PRId64 ", but only wrote %" PRId32 " bytes.  Error: %s\n"), 
217
217
                  static_cast<int64_t>(data_length),
218
218
                  static_cast<int64_t>(cur_offset),
219
 
                  static_cast<int32_t>(written), 
 
219
                  static_cast<int64_t>(written), 
220
220
                  errmsg);
221
221
    state= CRASHED;
222
222
    /* 
285
285
    result= ftruncate(log_file, log_offset);
286
286
  }
287
287
  while (result == -1 && errno == EINTR);
 
288
  drizzled::TransactionServices::singleton().resetTransactionId();
288
289
}
289
290
 
290
291
bool TransactionLog::findLogFilenameContainingTransactionId(const ReplicationServices::GlobalTransactionId&,