~hartmut-php/drizzle/codestyle

« back to all changes in this revision

Viewing changes to mysys/hash.c

  • Committer: Monty Taylor
  • Date: 2008-08-10 16:52:18 UTC
  • mfrom: (293 drizzle)
  • mto: (312.1.3 translations)
  • mto: This revision was merged to the branch mainline in revision 295.
  • Revision ID: monty@inaugust.com-20080810165218-jlekj1n46oyx9sih
MergedĀ fromĀ trunk.

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
}