Hi!
On Jun 25, igor@stripped wrote:
> ChangeSet@stripped, 2007-06-25 22:44:22-07:00, igor@stripped +3 -0
> 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.
ok to push
Regards / Mit vielen Grüssen,
Sergei
--
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Sergei Golubchik <serg@stripped>
/ /|_/ / // /\ \/ /_/ / /__ Principal Software Developer
/_/ /_/\_, /___/\___\_\___/ MySQL GmbH, Radlkoferstr. 2, D-81373 München
<___/ Geschäftsführer: Kaj Arnö - HRB
München 162140