Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

The "bindParam" method of OCI8Statement is not using the "length" parameter #214

wants to merge 1 commit into


None yet
5 participants

theUniC commented Oct 6, 2012

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.


Fixed the "bindParameter" method on the OCI8Statement class to correc…
…tly pass the "length" parameter to the "oci_bind_by_name" function when the type isn't a PDO::PARAM_LOB.


thank you for positing this Pull Request. I have automatically opened an issue on our Jira Bug Tracker for you with the details of this Pull-Request. See the Link:


Hi guys,

I have the same issue, this commit fix the problem perfectly.


beberlei commented May 9, 2013

This was added in another PR

@beberlei beberlei closed this May 9, 2013

Coverage Status

Changes Unknown when pulling 4bc7c7f on Emagister:master into * on doctrine:master*.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment