~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/hp_rnext.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:
24
24
  unsigned char *pos;
25
25
  HP_SHARE *share=info->s;
26
26
  HP_KEYDEF *keyinfo;
27
 
  
 
27
 
28
28
  if (info->lastinx < 0)
29
29
    return(my_errno=HA_ERR_WRONG_INDEX);
30
30
 
71
71
      custom_arg.keyseg = keyinfo->seg;
72
72
      custom_arg.key_length = info->lastkey_len;
73
73
      custom_arg.search_flag = SEARCH_SAME | SEARCH_FIND;
74
 
      pos = tree_search_key(&keyinfo->rb_tree, info->lastkey, info->parents, 
 
74
      pos = tree_search_key(&keyinfo->rb_tree, info->lastkey, info->parents,
75
75
                           &info->last_pos, info->last_find_flag, &custom_arg);
76
76
    }
77
77
    if (pos)
78
78
    {
79
 
      memcpy(&pos, pos + (*keyinfo->get_key_length)(keyinfo, pos), 
 
79
      memcpy(&pos, pos + (*keyinfo->get_key_length)(keyinfo, pos),
80
80
             sizeof(unsigned char*));
81
81
      info->current_ptr = pos;
82
82
    }