~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/hash.c

  • Committer: Brian Aker
  • Date: 2008-08-10 02:16:24 UTC
  • Revision ID: brian@tangent.org-20080810021624-w32i7696at09rz6y
Update for ulong change over.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
 
41
41
static uint calc_hash(const HASH *hash, const uchar *key, size_t length)
42
42
{
43
 
  ulong nr1=1, nr2=4;
 
43
  uint32_t nr1=1, nr2=4;
44
44
  hash->charset->coll->hash_sort(hash->charset,(const uchar*) key,length,&nr1,&nr2);
45
45
  return nr1;
46
46
}