~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/transaction_reader.cc

  • Committer: Brian Aker
  • Date: 2010-01-12 21:04:27 UTC
  • mfrom: (1259.6.3 hash_algorithm)
  • Revision ID: brian@gaz-20100112210427-ynafptc9b1jnv4d3
Merge Joe

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/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::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::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