[DBAL-429] [GH-259] fix named_token Created: 28/Jan/13  Updated: 14/Apr/13  Resolved: 14/Apr/13

Status: Resolved
Project: Doctrine DBAL
Component/s: None
Affects Version/s: None
Fix Version/s: 2.3.4
Security Level: All

Type: Bug Priority: Major
Reporter: Benjamin Eberlei Assignee: Benjamin Eberlei
Resolution: Fixed Votes: 0
Labels: None


This issue is created automatically through a Github pull request on behalf of dready:

Url: https://github.com/doctrine/dbal/pull/259


Regex Token Pattern for NAMED_TOKEN does not support sql cast operator ::

For example a query like this:
Select mydate::date from mytable;

will return a place holder ':date' instead of ignoring this.

fixed by adjusting the regex to ignore the operator.

Comment by Doctrine Bot [ 14/Apr/13 ]

A related Github Pull-Request [GH-259] was closed:

Generated at Fri Mar 27 17:31:23 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.