~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/hp_rkey.c

  • Committer: Eric Herman
  • Date: 2008-12-06 19:42:46 UTC
  • mto: (656.1.6 devel)
  • mto: This revision was merged to the branch mainline in revision 665.
  • Revision ID: eric@mysql.com-20081206194246-5cdexuu81i366eek
removed trailing whitespace with simple script:

for file in $(find . -name "*.c") $(find . -name "*.cc") $(find . -name "*.h"); do ruby -pe 'gsub(/\s+$/, $/)' < $file > $file.out; mv $file.out $file; done;

Show diffs side-by-side

added added

removed removed

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