summaryrefslogtreecommitdiff
path: root/sql/filesort.cc
diff options
context:
space:
mode:
authorunknown <kaa@kaamos.(none)>2008-01-10 15:07:55 +0300
committerunknown <kaa@kaamos.(none)>2008-01-10 15:07:55 +0300
commit0c49363d1e135eebe48ec1378c966c9238b7924f (patch)
tree47536537f153e0ebcb1f5d5a90dcd933c4c5ac82 /sql/filesort.cc
parent1040bea9ae86a6bb03c5bb1b9a544333c7c52e3f (diff)
downloadmariadb-git-0c49363d1e135eebe48ec1378c966c9238b7924f.tar.gz
Post-merge fix after merging 5.0 -> 5.1. Replaced 'byte' with 'uchar'.
Diffstat (limited to 'sql/filesort.cc')
-rw-r--r--sql/filesort.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/sql/filesort.cc b/sql/filesort.cc
index b9de65bb46b..23bc5c04648 100644
--- a/sql/filesort.cc
+++ b/sql/filesort.cc
@@ -37,8 +37,8 @@ if (my_b_write((file),(uchar*) (from),param->ref_length)) \
static char **make_char_array(char **old_pos, register uint fields,
uint length, myf my_flag);
-static byte *read_buffpek_from_file(IO_CACHE *buffer_file, uint count,
- byte *buf);
+static uchar *read_buffpek_from_file(IO_CACHE *buffer_file, uint count,
+ uchar *buf);
static ha_rows find_all_keys(SORTPARAM *param,SQL_SELECT *select,
uchar * *sort_keys, IO_CACHE *buffer_file,
IO_CACHE *tempfile,IO_CACHE *indexfile);
@@ -376,16 +376,16 @@ static char **make_char_array(char **old_pos, register uint fields,
/* Read 'count' number of buffer pointers into memory */
-static byte *read_buffpek_from_file(IO_CACHE *buffpek_pointers, uint count,
- byte *buf)
+static uchar *read_buffpek_from_file(IO_CACHE *buffpek_pointers, uint count,
+ uchar *buf)
{
ulong length= sizeof(BUFFPEK)*count;
- byte *tmp= buf;
+ uchar *tmp= buf;
DBUG_ENTER("read_buffpek_from_file");
if (count > UINT_MAX/sizeof(BUFFPEK))
return 0; /* sizeof(BUFFPEK)*count will overflow */
if (!tmp)
- tmp= (byte *)my_malloc(length, MYF(MY_WME));
+ tmp= (uchar *)my_malloc(length, MYF(MY_WME));
if (tmp)
{
if (reinit_io_cache(buffpek_pointers,READ_CACHE,0L,0,0) ||