mirror of
https://github.com/MariaDB/server.git
synced 2025-01-28 01:34:17 +01:00
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0
into gluh.mysql.r18.ru:/home/gluh/MySQL-BUGS/mysql-5.0
This commit is contained in:
commit
2a0948ef54
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ uint my_well_formed_len_mb(CHARSET_INFO *cs,
|
|||
my_wc_t wc;
|
||||
int mblen;
|
||||
|
||||
if ((mblen= cs->cset->mb_wc(cs, &wc, (uchar*) b, (uchar*) e)) <0)
|
||||
if ((mblen= cs->cset->mb_wc(cs, &wc, (uchar*) b, (uchar*) e)) <= 0)
|
||||
break;
|
||||
b+= mblen;
|
||||
pos--;
|
||||
|
|
Loading…
Add table
Reference in a new issue