~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/transaction_writer.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:
22
22
 */
23
23
 
24
24
#include "config.h"
25
 
#include "drizzled/hash/crc32.h"
 
25
#include "drizzled/algorithm/crc32.h"
26
26
#include "drizzled/gettext.h"
27
27
#include "drizzled/replication_services.h"
28
28
 
352
352
  output->WriteLittleEndian32(static_cast<uint32_t>(ReplicationServices::TRANSACTION));
353
353
  output->WriteLittleEndian32(static_cast<uint32_t>(length));
354
354
  output->WriteString(buffer);
355
 
  output->WriteLittleEndian32(drizzled::hash::crc32(buffer.c_str(), length)); /* checksum */
 
355
  output->WriteLittleEndian32(drizzled::algorithm::crc32(buffer.c_str(), length)); /* checksum */
356
356
}
357
357
 
358
358
int main(int argc, char* argv[])