diff options
author | unknown <evgen@moonbone.local> | 2005-12-27 20:16:59 +0300 |
---|---|---|
committer | unknown <evgen@moonbone.local> | 2005-12-27 20:16:59 +0300 |
commit | 9a128b97d13bb68449c94285b80eda22b37ecbb1 (patch) | |
tree | 3754ebf647321dd47b3b485a4756970aadbdf56f /README | |
parent | c2ac089167ac158aff1318cdb94c55a48fae34a5 (diff) | |
download | mariadb-git-9a128b97d13bb68449c94285b80eda22b37ecbb1.tar.gz |
Fix bug#14583
When InnoDB compares varchar field in ucs2 with given key using bin collation,
it calls my_strnncollsp_ucs2_bin() to perform comparison.
Because field length was lesser than length of key field should be padded
with trailing spaces in order to get correct result.
Because my_strnncollsp_ucs2_bin() was calling my_strnncollp_ucs2_bin(), which
doesn't pads field, wrong comparison result was returned. This results in
wrong result set.
my_strnncollsp_ucs2_bin() now compares fields like my_strnncollsp_ucs2 do,
but using binary collation.
mysql-test/t/ctype_ucs.test:
Test case for bug#14583 Wrong my_strnncollsp_ucs2_bin() behaviour results in skipping
correct records.
mysql-test/r/ctype_ucs.result:
Test case for bug#14583 Wrong my_strnncollsp_ucs2_bin() behaviour results in skipping correct records.
strings/ctype-ucs2.c:
Fix bug#14583 Wrong my_strnncollsp_ucs2_bin() behaviour results in skipping
correct records.my_strnncollsp_ucs2_bin() now compares fields like my_strnncollsp_ucs2 do,
but using binary collation.
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions