summaryrefslogtreecommitdiff
path: root/sql/sql_string.cc
diff options
context:
space:
mode:
authormonty@mysql.com <>2006-06-19 13:00:36 +0300
committermonty@mysql.com <>2006-06-19 13:00:36 +0300
commit49a3334889a9278859ff9030f193b4289c2870e0 (patch)
treee75191020187aa7951d311d8243bf28c5bbe307a /sql/sql_string.cc
parentc0850425e5df9c696a2600aec91d29f911d2d7d4 (diff)
parent860661a2dc5905396f1e6ee4b163bdf29dc2b6fe (diff)
downloadmariadb-git-49a3334889a9278859ff9030f193b4289c2870e0.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
into mysql.com:/home/my/mysql-5.1
Diffstat (limited to 'sql/sql_string.cc')
-rw-r--r--sql/sql_string.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_string.cc b/sql/sql_string.cc
index f86c05d2f4f..89010c1e213 100644
--- a/sql/sql_string.cc
+++ b/sql/sql_string.cc
@@ -710,8 +710,8 @@ void String::qs_append(uint i)
int sortcmp(const String *s,const String *t, CHARSET_INFO *cs)
{
return cs->coll->strnncollsp(cs,
- (unsigned char *) s->ptr(),s->length(),
- (unsigned char *) t->ptr(),t->length(), 0);
+ (uchar *) s->ptr(),s->length(),
+ (uchar *) t->ptr(),t->length(), 0);
}
@@ -724,7 +724,7 @@ int sortcmp(const String *s,const String *t, CHARSET_INFO *cs)
t Second string
NOTE:
- Strings are compared as a stream of unsigned chars
+ Strings are compared as a stream of uchars
RETURN
< 0 s < t