~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_unique.c

  • Committer: Brian Aker
  • Date: 2008-08-09 06:20:11 UTC
  • Revision ID: brian@tangent.org-20080809062011-vkyz8gszh6jpk3ga
Converted myisam away from my_bool

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
#include "myisamdef.h"
19
19
#include <mystrings/m_ctype.h>
20
20
 
21
 
my_bool mi_check_unique(MI_INFO *info, MI_UNIQUEDEF *def, uchar *record,
 
21
bool mi_check_unique(MI_INFO *info, MI_UNIQUEDEF *def, uchar *record,
22
22
                        ha_checksum unique_hash, my_off_t disk_pos)
23
23
{
24
24
  my_off_t lastpos=info->lastpos;
144
144
*/
145
145
 
146
146
int mi_unique_comp(MI_UNIQUEDEF *def, const uchar *a, const uchar *b,
147
 
                   my_bool null_are_equal)
 
147
                   bool null_are_equal)
148
148
{
149
149
  const uchar *pos_a, *pos_b, *end;
150
150
  HA_KEYSEG *keyseg;