~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/transaction_log/transaction_log_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:
55
55
 
56
56
#include <google/protobuf/io/zero_copy_stream_impl.h>
57
57
#include <google/protobuf/io/coded_stream.h>
58
 
#include <drizzled/hash/crc32.h>
 
58
#include <drizzled/algorithm/crc32.h>
59
59
#include <drizzled/errmsg_print.h>
60
60
#include "drizzled/definitions.h"
61
61
 
163
163
 
164
164
      if (do_checksum)
165
165
      {
166
 
        if (checksum != drizzled::hash::crc32(buffer, static_cast<size_t>(length)))
 
166
        if (checksum != drizzled::algorithm::crc32(buffer, static_cast<size_t>(length)))
167
167
        {
168
 
          fprintf(stderr, _("Checksum failed. Wanted %" PRIu32 " got %" PRIu32 "\n"), checksum, drizzled::hash::crc32(buffer, static_cast<size_t>(length)));
 
168
          fprintf(stderr, _("Checksum failed. Wanted %" PRIu32 " got %" PRIu32 "\n"), checksum, drizzled::algorithm::crc32(buffer, static_cast<size_t>(length)));
169
169
        }
170
170
      }
171
171