~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/message/transaction_writer.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:
22
22
 */
23
23
 
24
24
#include "config.h"
25
 
#include "drizzled/hash_algorithm/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_algorithm::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[])