~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_search.c

  • Committer: Brian Aker
  • Date: 2008-07-06 07:03:38 UTC
  • Revision ID: brian@tangent.org-20080706070338-1e57mvn46oonkxb6
Another round of cleanup of MyISAM

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
/* key handling functions */
17
17
 
18
 
#include "fulltext.h"
 
18
#include "myisamdef.h"
19
19
#include "m_ctype.h"
20
20
 
21
21
static my_bool _mi_get_prev_key(MI_INFO *info, MI_KEYDEF *keyinfo, uchar *page,
1467
1467
  key_length=_mi_keylength(keyinfo,key)+nod_flag;
1468
1468
 
1469
1469
  sort_order=0;
1470
 
  if ((keyinfo->flag & HA_FULLTEXT) &&
1471
 
      ((keyseg->type == HA_KEYTYPE_TEXT) ||
1472
 
       (keyseg->type == HA_KEYTYPE_VARTEXT1) ||
1473
 
       (keyseg->type == HA_KEYTYPE_VARTEXT2)) &&
1474
 
      !use_strnxfrm(keyseg->charset))
1475
 
    sort_order=keyseg->charset->sort_order;
1476
1470
 
1477
1471
  /* diff flag contains how many bytes is needed to pack key */
1478
1472
  if (keyseg->length >= 127)