~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_key.c

  • Committer: Brian Aker
  • Date: 2008-07-06 05:41:53 UTC
  • Revision ID: brian@tangent.org-20080706054153-9w5ltr9u3xt4pnro
Remove SP bits from MyISAM

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
#include "myisamdef.h"
19
19
#include "m_ctype.h"
20
 
#include "sp_defs.h"
21
20
#ifdef HAVE_IEEEFP_H
22
21
#include <ieeefp.h>
23
22
#endif
223
222
  my_bool is_ft= info->s->keyinfo[keynr].flag & HA_FULLTEXT;
224
223
  DBUG_ENTER("_mi_pack_key");
225
224
 
226
 
  /* "one part" rtree key is 2*SPDIMS part key in MyISAM */
227
 
  if (info->s->keyinfo[keynr].key_alg == HA_KEY_ALG_RTREE)
228
 
    keypart_map= (((key_part_map)1) << (2*SPDIMS)) - 1;
229
 
 
230
225
  /* only key prefixes are supported */
231
226
  DBUG_ASSERT(((keypart_map+1) & keypart_map) == 0);
232
227