~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/transaction_writer.cc

  • Committer: Siddharth Prakash Singh
  • Date: 2010-03-29 22:01:35 UTC
  • mto: This revision was merged to the branch mainline in revision 1432.
  • Revision ID: spsneo@spsneo-laptop-20100329220135-ear9ygsp9q88xhcw
code refactoring - removing the type when calling crc32

Show diffs side-by-side

added added

removed removed

Lines of Context:
352
352
  output->WriteLittleEndian32(static_cast<uint32_t>(ReplicationServices::TRANSACTION));
353
353
  output->WriteLittleEndian32(static_cast<uint32_t>(length));
354
354
  output->WriteString(buffer);
355
 
  output->WriteLittleEndian32(drizzled::algorithm::crc32<const char *>(buffer.c_str(), length)); /* checksum */
 
355
  output->WriteLittleEndian32(drizzled::algorithm::crc32(buffer.c_str(), length)); /* checksum */
356
356
}
357
357
 
358
358
int main(int argc, char* argv[])