1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

unsigned char -> uchar

Added missing copyright
Indentation and prototype fixes
Fixed compiler warning
This commit is contained in:
monty@mysql.com
2006-06-19 12:45:34 +03:00
parent 37d7bbb335
commit 860661a2dc
19 changed files with 141 additions and 102 deletions

View File

@ -720,8 +720,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);
}
@ -734,7 +734,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