summaryrefslogtreecommitdiff
path: root/os2
diff options
context:
space:
mode:
authorunknown <igor@olga.mysql.com>2007-06-25 22:44:22 -0700
committerunknown <igor@olga.mysql.com>2007-06-25 22:44:22 -0700
commit0127c1a30faaf04be32837306a88c0908a0cbbe9 (patch)
treef09d03e32cc2cbaaeb0f1aa8edbac3fcefe511ef /os2
parent19446015866646659ddeaec722cd40dd900be7c3 (diff)
downloadmariadb-git-0127c1a30faaf04be32837306a88c0908a0cbbe9.tar.gz
Fixed bug #29087. This bug manifested itself for queries that performed
a lookup into a BINARY index by a key ended with spaces. It caused an assertion abort for a debug version and wrong results for non-debug versions. The problem occurred because the function _mi_pack_key stripped off the trailing spaces from binary search keys while the function _mi_make_key did not do it when keys were inserted into the index. Now the function _mi_pack_key does not remove the trailing spaces from search keys if they are of the binary type. mysql-test/r/binary.result: Added a test case for bug #29087. mysql-test/t/binary.test: Added a test case for bug #29087.
Diffstat (limited to 'os2')
0 files changed, 0 insertions, 0 deletions