~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/transaction_log/transaction_log.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:
90
90
#include <drizzled/session.h>
91
91
#include <drizzled/set_var.h>
92
92
#include <drizzled/gettext.h>
93
 
#include <drizzled/hash_algorithm/crc32.h>
 
93
#include <drizzled/algorithm/crc32.h>
94
94
#include <drizzled/message/transaction.pb.h>
95
95
#include <google/protobuf/io/coded_stream.h>
96
96
 
250
250
  uint32_t checksum= 0;
251
251
  if (do_checksum)
252
252
  {
253
 
    checksum= drizzled::hash_algorithm::crc32(reinterpret_cast<char *>(buffer) - message_byte_length, message_byte_length);
 
253
    checksum= drizzled::algorithm::crc32(reinterpret_cast<char *>(buffer) - message_byte_length, message_byte_length);
254
254
  }
255
255
 
256
256
  /* We always write in network byte order */