~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_sort.h

  • Committer: Brian Aker
  • Date: 2008-10-06 05:57:49 UTC
  • Revision ID: brian@tangent.org-20081006055749-svg700gciuqi0zu1
Remove all of uchar.

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
 
53
53
typedef struct st_buffpek {             /* Struktur om sorteringsbuffrarna */
54
54
  my_off_t file_pos;                    /* Where we are in the sort file */
55
 
  uchar *base,*key;                     /* key pointers */
 
55
  unsigned char *base,*key;                     /* key pointers */
56
56
  ha_rows count;                        /* Number of rows in table */
57
57
  ulong mem_count;                      /* numbers of keys in memory */
58
58
  ulong max_keys;                       /* Max keys in buffert */
76
76
  SORT_FIELD *local_sortorder;
77
77
  SORT_FIELD *end;
78
78
  SORT_ADDON_FIELD *addon_field; /* Descriptors for companion fields */
79
 
  uchar *unique_buff;
 
79
  unsigned char *unique_buff;
80
80
  bool not_killable;
81
81
  char* tmp_buffer;
82
82
  /* The fields below are used only by Unique class */
85
85
} SORTPARAM;
86
86
 
87
87
 
88
 
int merge_many_buff(SORTPARAM *param, uchar *sort_buffer,
 
88
int merge_many_buff(SORTPARAM *param, unsigned char *sort_buffer,
89
89
                    BUFFPEK *buffpek,
90
90
                    uint *maxbuffer, IO_CACHE *t_file);
91
91
uint read_to_buffer(IO_CACHE *fromfile,BUFFPEK *buffpek,
92
92
                    uint sort_length);
93
93
int merge_buffers(SORTPARAM *param,IO_CACHE *from_file,
94
 
                  IO_CACHE *to_file, uchar *sort_buffer,
 
94
                  IO_CACHE *to_file, unsigned char *sort_buffer,
95
95
                  BUFFPEK *lastbuff,BUFFPEK *Fb,
96
96
                  BUFFPEK *Tb,int flag);
97
97
void reuse_freed_buff(QUEUE *queue, BUFFPEK *reuse, uint key_length);