Problem filtering with a like expression

2011-03-21 Thread Johan De Taeye
I ran into this case where a like expression is not evaluated correctly if the pattern is an expression. The example below shows a case where *AAA* is not considered *like 'A' || '%'* Is this a known limitation? Or a bug? create table lookup ( name varchar(60) ); insert into lookup (name)

RE: Problem filtering with a like expression

2011-03-21 Thread johan de taeye
After updating the SQL_MODE, it works as I expect. Thanks for your prompt replies! Johan -Original Message- From: petya [mailto:pe...@petya.org.hu] Sent: Monday, March 21, 2011 12:10 PM To: Johan De Taeye Cc: mysql@lists.mysql.com Subject: Re: Problem filtering with a like