diff options
author | unknown <bar@mysql.com> | 2006-03-23 12:41:28 +0400 |
---|---|---|
committer | unknown <bar@mysql.com> | 2006-03-23 12:41:28 +0400 |
commit | 4287e45e9b9a227e9e7bf499b6095823af1f9c8e (patch) | |
tree | fefc8015db210132d0d029a6d3c30bafda73dc37 /strings/ctype-big5.c | |
parent | f00c9b08297fa9f60ef437df17c60a932e88315a (diff) | |
parent | a8468c54ba8465211738351c845a9285890e7366 (diff) | |
download | mariadb-git-4287e45e9b9a227e9e7bf499b6095823af1f9c8e.tar.gz |
Merge mysql.com:/usr/home/bar/mysql-4.1.b15376
into mysql.com:/usr/home/bar/mysql-5.0
BitKeeper/deleted/.del-ctype-cp932.c:
Auto merged
mysql-test/t/ctype_ujis.test:
Auto merged
sql/sql_string.cc:
Auto merged
strings/ctype-big5.c:
Auto merged
strings/ctype-bin.c:
Auto merged
strings/ctype-euc_kr.c:
Auto merged
strings/ctype-gb2312.c:
Auto merged
strings/ctype-gbk.c:
Auto merged
strings/ctype-latin1.c:
Auto merged
strings/ctype-simple.c:
Auto merged
strings/ctype-sjis.c:
Auto merged
strings/ctype-tis620.c:
Auto merged
strings/ctype-ucs2.c:
Auto merged
strings/ctype-ujis.c:
Auto merged
strings/ctype-utf8.c:
Auto merged
include/m_ctype.h:
After merge fix.
mysql-test/r/ctype_ujis.result:
After merge fix
Diffstat (limited to 'strings/ctype-big5.c')
-rw-r--r-- | strings/ctype-big5.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/strings/ctype-big5.c b/strings/ctype-big5.c index 460215418f8..0ca1cf21129 100644 --- a/strings/ctype-big5.c +++ b/strings/ctype-big5.c @@ -6275,7 +6275,7 @@ my_mb_wc_big5(CHARSET_INFO *cs __attribute__((unused)), int hi=s[0]; if (s >= e) - return MY_CS_TOOFEW(0); + return MY_CS_TOOSMALL; if (hi<0x80) { @@ -6284,10 +6284,10 @@ my_mb_wc_big5(CHARSET_INFO *cs __attribute__((unused)), } if (s+2>e) - return MY_CS_TOOFEW(0); + return MY_CS_TOOSMALL2; if (!(pwc[0]=func_big5_uni_onechar((hi<<8)+s[1]))) - return MY_CS_ILSEQ; + return -2; return 2; } |