-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bindParam doesn't use type and leng informations #8
Comments
What's the result of the regular PDOOCI implementation? |
It work's fine with the regular PDOOCI implementation. You get a proper int as a result. |
Could you please change, on
to
and see if it works? Or provide a test to check the desired behaviour? |
Ok, thank you. I'll try that and provide a test. |
Thanks. :-) |
We really need to run tests. I just made the change I told above and everything broke. We really need to send the default expected values, so: bindParam expects:
oci_bind_by_name expects:
Then I changed again the code sending PDO::PARAM_STR and -1 as default values, and it broke again. Then I created an |
bindParam
doesn't usetype
andleng
informations.This cause an issue when you bind an OUT param with an undifined php variable. For exemple if your OUT param is defined as an integer in your stored procedure, you will get a char with the lefmost digit of the real result number after you execute the statement. (sorry for my english, i'm French).
The text was updated successfully, but these errors were encountered: