~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/info_schema_table.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:
49
49
    checksum(0)
50
50
{
51
51
  memcpy(record, buf, rec_len);
52
 
  checksum= drizzled::hash_algorithm::crc32((const char *) record, rec_len);
 
52
  checksum= drizzled::algorithm::crc32((const char *) record, rec_len);
53
53
}
54
54
 
55
55
plugin::InfoSchemaRecord::InfoSchemaRecord(const plugin::InfoSchemaRecord &rhs)
57
57
    rec_len(rhs.rec_len)
58
58
{
59
59
  memcpy(record, rhs.record, rec_len);
60
 
  checksum= drizzled::hash_algorithm::crc32((const char *) record, rec_len);
 
60
  checksum= drizzled::algorithm::crc32((const char *) record, rec_len);
61
61
}
62
62
 
63
63
bool plugin::InfoSchemaTable::addPlugin(plugin::InfoSchemaTable *schema_table)