diff options
author | Alexander Barkov <bar@mysql.com> | 2010-07-26 09:06:18 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mysql.com> | 2010-07-26 09:06:18 +0400 |
commit | e57a9d6fe035df7d200b90c518256b68b6a9fc49 (patch) | |
tree | f1533ea1819d394f8eeb6b168c09970e8eb9ee35 /configure.in | |
parent | 25c849dbd3617d2c2b1ae84a2086d3067e95fd09 (diff) | |
download | mariadb-git-e57a9d6fe035df7d200b90c518256b68b6a9fc49.tar.gz |
Bug#45012 my_like_range_cp932 generates invalid string
Problem: The functions my_like_range_xxx() returned
badly formed maximum strings for Asian character sets,
which made problems for storage engines.
Fix:
- Removed a number my_like_range_xxx() implementations,
which were in fact dumplicate code pieces.
- Using generic my_like_range_mb() instead.
- Setting max_sort_char member properly for Asian character sets
- Adding unittest/strings/strings-t.c,
to test that my_like_range_xxx() return well-formed
min and max strings.
Notes:
- No additional tests in mysql/t/ available.
Old tests cover the affected code well enough.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 0af6a92fcc9..efd291f953c 100644 --- a/configure.in +++ b/configure.in @@ -2880,7 +2880,8 @@ fi AC_CONFIG_FILES(Makefile extra/Makefile mysys/Makefile dnl unittest/Makefile unittest/mytap/Makefile unittest/mytap/t/Makefile dnl - unittest/mysys/Makefile unittest/examples/Makefile dnl + unittest/mysys/Makefile unittest/strings/Makefile dnl + unittest/examples/Makefile dnl strings/Makefile regex/Makefile storage/Makefile dnl man/Makefile BUILD/Makefile vio/Makefile dnl libmysql/Makefile libmysql_r/Makefile client/Makefile dnl |