diff options
author | bar@mysql.com <> | 2005-04-07 16:14:45 +0500 |
---|---|---|
committer | bar@mysql.com <> | 2005-04-07 16:14:45 +0500 |
commit | b950bc210c64440c9bc12c9d8d77c9cf4a0b5ac4 (patch) | |
tree | 4f1d60b2945543c5d4982f8084a6da5dd8f1c132 /strings | |
parent | 18354f457005c98112e51d02fa18f16feff50724 (diff) | |
download | mariadb-git-b950bc210c64440c9bc12c9d8d77c9cf4a0b5ac4.tar.gz |
ctype-eucjpms.c:
After merge fix.
Diffstat (limited to 'strings')
-rw-r--r-- | strings/ctype-eucjpms.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/strings/ctype-eucjpms.c b/strings/ctype-eucjpms.c index 346b5ecdf6b..ab12446754a 100644 --- a/strings/ctype-eucjpms.c +++ b/strings/ctype-eucjpms.c @@ -8417,7 +8417,10 @@ uint my_well_formed_len_eucjpms(CHARSET_INFO *cs __attribute__((unused)), { ch= *b++; if (b >= (uchar*) end) + { + *error= 1; return chbeg - beg; /* unexpected EOL */ + } } if (ch >= 0xA1 && ch <= 0xFE && |