~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/transaction_reader.cc

  • Committer: Joe Daly
  • Date: 2010-01-06 02:20:42 UTC
  • mto: This revision was merged to the branch mainline in revision 1267.
  • Revision ID: skinny.moey@gmail.com-20100106022042-8ov23wc4aq8f9k7d
rename hash_algorithm to algorithm

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#include "config.h"
25
25
#include <drizzled/gettext.h>
26
26
#include <drizzled/replication_services.h>
27
 
#include <drizzled/hash_algorithm/crc32.h>
 
27
#include <drizzled/algorithm/crc32.h>
28
28
#include <sys/types.h>
29
29
#include <sys/stat.h>
30
30
#include <fcntl.h>
226
226
 
227
227
    if (do_checksum)
228
228
    {
229
 
      if (checksum != drizzled::hash_algorithm::crc32(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::hash_algorithm::crc32(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