MySQL Forums
Forum List  »  InnoDB

Re: LIKE not working as expected
Posted by: Robert Simpson
Date: April 27, 2020 12:00PM

I noticed that it works if I change the collation:

select * from data WHERE stringValue collate utf8_general_ci like _utf8 '%\\\\%' collate utf8_general_ci escape _utf8 '\\' collate utf8_general_ci;

I had searched for bugs on the LIKE clause before, but didn't see the one that came up which I searched for the specific collation, namely 63829.

Options: ReplyQuote


Subject
Views
Written By
Posted
905
April 18, 2020 08:37PM
420
April 18, 2020 09:14PM
420
April 19, 2020 10:38AM
403
April 27, 2020 08:13AM
Re: LIKE not working as expected
401
April 27, 2020 12:00PM


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.