mirror of
https://github.com/MariaDB/server.git
synced 2026-04-21 07:45:32 +02:00
Bug #45286: compilation warnings on mysql-5.0-bugteam on MacOSX
Fixed the 5.0-bugteam MacOSX warnings.
This commit is contained in:
parent
f0ae92f471
commit
5ec61b304c
5 changed files with 11 additions and 5 deletions
|
|
@ -327,7 +327,10 @@ my_string_repertoire(CHARSET_INFO *cs, const char *str, ulong length)
|
|||
{
|
||||
my_wc_t wc;
|
||||
int chlen;
|
||||
for (; (chlen= cs->cset->mb_wc(cs, &wc, str, strend)) > 0; str+= chlen)
|
||||
for (; (chlen= cs->cset->mb_wc(cs, &wc,
|
||||
(const unsigned char *) str,
|
||||
(const unsigned char *) strend)) > 0;
|
||||
str+= chlen)
|
||||
{
|
||||
if (wc > 0x7F)
|
||||
return MY_REPERTOIRE_UNICODE30;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue