doctrine/doctrine2 — pull request #245 by milokmet (2011-12-29 15:13:24+00:00)
Title: [DDC-1572] Allow LIKE pattern to be a function or path expression

I fix like expression parser as well as SqlWalker to allow the pattern to be a function or path expression (another column for example joined column), to allow such where conditions:

LOWER(u.field) LIKE LOWER(?1) or with joined tables - log.messages LIKE alert.pattern

I do not know if I fixed that in the correct way, because I am not familiar with Doctrine2 query parsers and lexers.
I've created also few test cases for that and it works.