summaryrefslogtreecommitdiff
path: root/strings/ctype-big5.c
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2005-05-14 12:38:12 +0400
committerunknown <konstantin@mysql.com>2005-05-14 12:38:12 +0400
commit7f5bf3dcdb436d08d8a8ed62c7683e27f6e85cc4 (patch)
tree301d852032306dc5560a6076b889c4d7c3d6da7d /strings/ctype-big5.c
parent18fd0b9467f30a40de83ab54dcffdfd180d83338 (diff)
parentba3540cc6991c49e0f43501e600018896b5e0dcb (diff)
downloadmariadb-git-7f5bf3dcdb436d08d8a8ed62c7683e27f6e85cc4.tar.gz
Manual merge (again)
configure.in: Auto merged include/mysql.h: Auto merged innobase/row/row0mysql.c: Auto merged BitKeeper/deleted/.del-ctype-cp932.c: Auto merged BitKeeper/deleted/.del-errmsg.txt~4617575065d612b9: Auto merged BitKeeper/deleted/.del-errmsg.txt~ffe4a0c9e3206150: Auto merged libmysql/libmysql.c: Auto merged libmysqld/Makefile.am: Auto merged mysql-test/r/ctype_ucs.result: Auto merged mysql-test/t/ctype_ucs.test: Auto merged mysql-test/t/ps_grant.test: Auto merged sql/ha_blackhole.cc: Auto merged strings/ctype-big5.c: Auto merged strings/ctype-ucs2.c: Auto merged
Diffstat (limited to 'strings/ctype-big5.c')
-rw-r--r--strings/ctype-big5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/ctype-big5.c b/strings/ctype-big5.c
index e12ff189eaf..447eea3e635 100644
--- a/strings/ctype-big5.c
+++ b/strings/ctype-big5.c
@@ -6301,7 +6301,7 @@ uint my_well_formed_len_big5(CHARSET_INFO *cs __attribute__((unused)),
const char *emb= e - 1; /* Last possible end of an MB character */
*error= 0;
- while (pos && b < e)
+ while (pos-- && b < e)
{
if ((uchar) b[0] < 128)
{