mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
Merge mysql.com:/home/pz/mysql/mysql-4.0-root
into mysql.com:/home/pz/mysql/mysql-4.0
This commit is contained in:
commit
26d3263617
1 changed files with 8 additions and 2 deletions
|
|
@ -45,8 +45,11 @@ void caseup_str(my_string str)
|
|||
}
|
||||
else
|
||||
#endif
|
||||
while ((*str = toupper(*str)) != 0)
|
||||
while (*str!=0) /* iterate till the end of string */
|
||||
{
|
||||
*str= toupper(*str);
|
||||
str++;
|
||||
}
|
||||
} /* caseup_str */
|
||||
|
||||
/* string to lowercase */
|
||||
|
|
@ -66,8 +69,11 @@ void casedn_str(my_string str)
|
|||
}
|
||||
else
|
||||
#endif
|
||||
while ((*str= tolower(*str)) != 0)
|
||||
while (*str!=0) /* iterate till the end of string */
|
||||
{
|
||||
*str= tolower(*str);
|
||||
str++;
|
||||
}
|
||||
} /* casedn_str */
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue