~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/hp_hash.c

Merged build changes from Antony.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
/* The hash functions used for saveing keys */
17
17
 
18
18
#include "heapdef.h"
19
 
#include <m_ctype.h>
 
19
#include <mystrings/m_ctype.h>
20
20
 
21
21
 
22
22
 
564
564
    }
565
565
    else
566
566
    {
567
 
      if (bcmp(rec1+seg->start,rec2+seg->start,seg->length))
 
567
      if (memcmp(rec1+seg->start,rec2+seg->start,seg->length))
568
568
        return 1;
569
569
    }
570
570
  }
647
647
    }
648
648
    else
649
649
    {
650
 
      if (bcmp(rec+seg->start,key,seg->length))
 
650
      if (memcmp(rec+seg->start,key,seg->length))
651
651
        return 1;
652
652
    }
653
653
  }
716
716
        if (isnan(nr))
717
717
        {
718
718
          /* Replace NAN with zero */
719
 
          bzero(key, length);
 
719
          memset(key, 0, length);
720
720
          key+= length;
721
721
          continue;
722
722
        }
727
727
        float8get(nr, pos);
728
728
        if (isnan(nr))
729
729
        {
730
 
          bzero(key, length);
 
730
          memset(key, 0, length);
731
731
          key+= length;
732
732
          continue;
733
733
        }