diff options
author | unknown <istruewing@stella.local> | 2007-12-11 21:37:33 +0100 |
---|---|---|
committer | unknown <istruewing@stella.local> | 2007-12-11 21:37:33 +0100 |
commit | 19c7e2c9d5581aab49b0d3285f4831daad435154 (patch) | |
tree | 8d165ae75cc77a6c917c8dc41b75cb2ceb402ca8 /strings | |
parent | ebc227bfa46dbec2d3a8f47d57d33120cd1c4a64 (diff) | |
parent | 2bbf12c3305295b41639c98ca805437b4efc0e3a (diff) | |
download | mariadb-git-19c7e2c9d5581aab49b0d3285f4831daad435154.tar.gz |
Merge stella.local:/home2/mydev/mysql-5.1-amain
into stella.local:/home2/mydev/mysql-5.1-axmrg
mysql-test/t/disabled.def:
Auto merged
sql/partition_info.cc:
Auto merged
storage/csv/ha_tina.cc:
Auto merged
mysql-test/r/func_misc.result:
SCCS merged
mysql-test/t/func_misc.test:
SCCS merged
Diffstat (limited to 'strings')
-rw-r--r-- | strings/ctype-cp932.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/strings/ctype-cp932.c b/strings/ctype-cp932.c index a0ff0314246..c1aba0b35c6 100644 --- a/strings/ctype-cp932.c +++ b/strings/ctype-cp932.c @@ -5360,12 +5360,12 @@ my_wc_mb_cp932(CHARSET_INFO *cs __attribute__((unused)), static int my_mb_wc_cp932(CHARSET_INFO *cs __attribute__((unused)), my_wc_t *pwc, const uchar *s, const uchar *e){ - int hi=s[0]; + int hi; if (s >= e) return MY_CS_TOOSMALL; - if (hi < 0x80) + if ((hi= s[0]) < 0x80) { pwc[0]=hi; return 1; |