~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/transaction_reader.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:
226
226
 
227
227
    if (do_checksum)
228
228
    {
229
 
      if (checksum != drizzled::algorithm::crc32<char *>(buffer, static_cast<size_t>(length)))
 
229
      if (checksum != drizzled::algorithm::crc32(buffer, static_cast<size_t>(length)))
230
230
      {
231
 
        fprintf(stderr, _("Checksum failed. Wanted %" PRIu32 " got %" PRIu32 "\n"), checksum, drizzled::algorithm::crc32<char *>(buffer, static_cast<size_t>(length)));
 
231
        fprintf(stderr, _("Checksum failed. Wanted %" PRIu32 " got %" PRIu32 "\n"), checksum, drizzled::algorithm::crc32(buffer, static_cast<size_t>(length)));
232
232
      }
233
233
    }
234
234