diff options
author | bar@mysql.com/bar.myoffice.izhnet.ru <> | 2008-02-04 11:10:40 +0400 |
---|---|---|
committer | bar@mysql.com/bar.myoffice.izhnet.ru <> | 2008-02-04 11:10:40 +0400 |
commit | 3a438cf57a69d254ea5e6cdf9949929b1f0d367c (patch) | |
tree | e402fb1aa9596c1c1353d12de0dcffa6304a254d /strings/ctype-ujis.c | |
parent | afe8ac3128f36d5e3d078c78907760fb579dbca8 (diff) | |
download | mariadb-git-3a438cf57a69d254ea5e6cdf9949929b1f0d367c.tar.gz |
Bug#32510 LIKE search fails with indexed 'eucjpms' and 'ujis' char column
Problem: some collation handlers called incorrect version
of my_like_range_xxx(), which led to wrong min_str and max_str,
so like range optimizer threw away good records.
Fix: changing the wrong handlers to call proper version of
my_like_range_xxx().
Diffstat (limited to 'strings/ctype-ujis.c')
-rw-r--r-- | strings/ctype-ujis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/ctype-ujis.c b/strings/ctype-ujis.c index cd1ab7da425..4a75244807d 100644 --- a/strings/ctype-ujis.c +++ b/strings/ctype-ujis.c @@ -8511,7 +8511,7 @@ static MY_COLLATION_HANDLER my_collation_ci_handler = my_strnncollsp_simple, my_strnxfrm_simple, /* strnxfrm */ my_strnxfrmlen_simple, - my_like_range_simple,/* like_range */ + my_like_range_mb, /* like_range */ my_wildcmp_mb, /* wildcmp */ my_strcasecmp_mb, my_instr_mb, |