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 | 8c8e0567c7b093ef97835a0bb513d064ddbed325 (patch) | |
tree | fefc8015db210132d0d029a6d3c30bafda73dc37 /strings/ctype-tis620.c | |
parent | 5b34888ce43ca76a8d1840f45e0452de1535a728 (diff) | |
parent | a464e01713d19d358eb7feab2cfdf88bb274d5df (diff) | |
download | mariadb-git-8c8e0567c7b093ef97835a0bb513d064ddbed325.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-tis620.c')
-rw-r--r-- | strings/ctype-tis620.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/strings/ctype-tis620.c b/strings/ctype-tis620.c index 1200644de3c..dc4f18b516b 100644 --- a/strings/ctype-tis620.c +++ b/strings/ctype-tis620.c @@ -827,10 +827,10 @@ int my_mb_wc_tis620(CHARSET_INFO *cs __attribute__((unused)), const unsigned char *end __attribute__((unused))) { if (str >= end) - return MY_CS_TOOFEW(0); + return MY_CS_TOOSMALL; *wc=cs_to_uni[*str]; - return (!wc[0] && str[0]) ? MY_CS_ILSEQ : 1; + return (!wc[0] && str[0]) ? -1 : 1; } static |