~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/command_log/command_log.cc

  • Committer: Jay Pipes
  • Date: 2009-10-07 19:56:04 UTC
  • mto: (1234.1.1 push) (1237.2.10 push)
  • mto: This revision was merged to the branch mainline in revision 1193.
  • Revision ID: jpipes@serialcoder-20091007195604-24yec9o6hyi1pn03
Merge Monty's fixes for moving crc32 function into a library.

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
#include <drizzled/set_var.h>
77
77
#include <drizzled/gettext.h>
78
78
#include <drizzled/message/replication.pb.h>
79
 
#include <drizzled/crc32.h>
 
79
#include <drizzled/hash/crc32.h>
80
80
 
81
81
using namespace std;
82
82
using namespace drizzled;
276
276
 
277
277
  if (do_checksum)
278
278
  {
279
 
    checksum= hash_crc32(buffer.c_str(), length);
 
279
    checksum= drizzled::hash::crc32(buffer.c_str(), length);
280
280
  }
281
281
 
282
282
  /* We always write in network byte order */