Re: LOWER() influences utf8_bin collation?
Posted by: Rick James
Date: April 21, 2014 11:43PM

Please file a bug at
http://bugs.mysql.com
(and post the url here)

Nothing looks fishy here (except the order):
SELECT hex(a), a, lower(a), hex(lower(a)), charset(lower(a)), collation(lower(a)) FROM f612862 ORDER BY LOWER(a);

+--------+------+----------+---------------+-------------------+---------------------+
| hex(a) | a    | lower(a) | hex(lower(a)) | charset(lower(a)) | collation(lower(a)) |
+--------+------+----------+---------------+-------------------+---------------------+
| 6D     | m    | m        | 6D            | utf8              | utf8_bin            |
| 61     | a    | a        | 61            | utf8              | utf8_bin            |
| 6262   | bb   | bb       | 6262          | utf8              | utf8_bin            |
| 6B6B6B | kkk  | kkk      | 6B6B6B        | utf8              | utf8_bin            |
| 7474   | tt   | tt       | 7474          | utf8              | utf8_bin            |
| 7A7A7A | zzz  | zzz      | 7A7A7A        | utf8              | utf8_bin            |
+--------+------+----------+---------------+-------------------+---------------------+

That was using 5.6.12.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: LOWER() influences utf8_bin collation?
1810
April 21, 2014 11:43PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.