[DBAL-245] [GH-124] Connection quote() ignores returned value from getBindingInfo() Created: 28/Mar/12  Updated: 30/Mar/12  Resolved: 30/Mar/12

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

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


 Description   

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

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

Message:

Maybe I'm missing something here, but this simple change seems to be necessary to allow for proper type management in quote(). For example, without this change passing a DateTime object as $input with $type = 'date' will resolve the proper string value in getBindingInfo, but then still attempt to pass the DateTime to PDO, which of course doesn't work.



 Comments   
Comment by Benjamin Eberlei [ 29/Mar/12 ]

A related Github Pull-Request [GH-124] was closed
https://github.com/doctrine/dbal/pull/124

Comment by Benjamin Eberlei [ 30/Mar/12 ]

Fixed and merged

Generated at Tue Sep 02 14:45:52 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.