diff options
author | holyfoot@hf-ibm.(none) <> | 2005-05-10 02:15:59 +0500 |
---|---|---|
committer | holyfoot@hf-ibm.(none) <> | 2005-05-10 02:15:59 +0500 |
commit | 1851a38b2f1bd0d2be665fa1abbbd17e4d37fd64 (patch) | |
tree | a8c55db9f75348d77b00a6d9350123af717871a3 | |
parent | c783cb3d7eac5a901d1d2a28742f77f25f9785f7 (diff) | |
download | mariadb-git-1851a38b2f1bd0d2be665fa1abbbd17e4d37fd64.tar.gz |
Fix for bug #10493 (SJIS fields are not correctly saved)
-rw-r--r-- | BitKeeper/etc/logging_ok | 1 | ||||
-rw-r--r-- | strings/ctype-sjis.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/BitKeeper/etc/logging_ok b/BitKeeper/etc/logging_ok index 2143d0f2492..246de2fffa2 100644 --- a/BitKeeper/etc/logging_ok +++ b/BitKeeper/etc/logging_ok @@ -75,6 +75,7 @@ hf@bisonxp.(none) hf@deer.(none) hf@deer.mysql.r18.ru hf@genie.(none) +holyfoot@mysql.com igor@hundin.mysql.fi igor@linux.local igor@rurik.mysql.com diff --git a/strings/ctype-sjis.c b/strings/ctype-sjis.c index 35182db3345..b018e148ffe 100644 --- a/strings/ctype-sjis.c +++ b/strings/ctype-sjis.c @@ -4576,7 +4576,7 @@ uint my_well_formed_len_sjis(CHARSET_INFO *cs __attribute__((unused)), { const char *b0= b; *error= 0; - while (pos && b < e) + while (pos-- && b < e) { if ((uchar) b[0] < 128) { |