[DBAL-362] [GH-214] The "bindParam" method of OCI8Statement is not using the "length" parameter Created: 06/Oct/12  Updated: 09/May/13  Resolved: 09/May/13

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

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


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

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


I've fixed the ```OCI8Statement::bindParam``` method in order to pass the "length" parameter when the type is not a LOB


As noted on the description of the function on the PHP manual (for the IN binds), this is leading to a truncation of the values to the size of the PHP variable.


Comment by Doctrine Bot [ 09/May/13 ]

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

Generated at Wed Nov 25 19:34:22 EST 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.