~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/info_schema_table.h

  • Committer: Joe Daly
  • Date: 2010-01-04 03:34:24 UTC
  • mto: This revision was merged to the branch mainline in revision 1267.
  • Revision ID: skinny.moey@gmail.com-20100104033424-p1lgg0z9663cr0yo
rename hash namespace to hash_algorithm this avoids a naming collision with the hash_map impl

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#define DRIZZLED_PLUGIN_INFO_SCHEMA_TABLE_H
23
23
 
24
24
#include "drizzled/plugin/plugin.h"
25
 
#include "drizzled/hash/crc32.h"
 
25
#include "drizzled/hash_algorithm/crc32.h"
26
26
#include "drizzled/common.h"
27
27
 
28
28
#include <cstring>
523
523
   */
524
524
  void addRow(unsigned char *buf, size_t len)
525
525
  {
526
 
    uint32_t cs= drizzled::hash::crc32((const char *) buf, len);
 
526
    uint32_t cs= drizzled::hash_algorithm::crc32((const char *) buf, len);
527
527
    Rows::iterator it= std::find_if(rows.begin(),
528
528
                                    rows.end(),
529
529
                                    FindRowByChecksum(cs));