~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/hp_rkey.c

  • Committer: Brian Aker
  • Date: 2008-10-06 06:47:29 UTC
  • Revision ID: brian@tangent.org-20081006064729-2i9mhjkzyvow9xsm
RemoveĀ uint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
#include "heapdef.h"
17
17
 
18
 
#include <string.h>
19
 
 
20
 
int heap_rkey(HP_INFO *info, unsigned char *record, int inx, const unsigned char *key,
 
18
int heap_rkey(HP_INFO *info, unsigned char *record, int inx, const unsigned char *key, 
21
19
              key_part_map keypart_map, enum ha_rkey_function find_flag)
22
20
{
23
21
  unsigned char *pos;
36
34
    heap_rb_param custom_arg;
37
35
 
38
36
    custom_arg.keyseg= info->s->keydef[inx].seg;
39
 
    custom_arg.key_length= info->lastkey_len=
 
37
    custom_arg.key_length= info->lastkey_len= 
40
38
      hp_rb_pack_key(keyinfo, (unsigned char*) info->lastkey,
41
39
                     (unsigned char*) key, keypart_map);
42
40
    custom_arg.search_flag= SEARCH_FIND | SEARCH_SAME;