Skip to content
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

Oracle fix binding null values to long/lob type columns #2460

Closed
wants to merge 1 commit into from

Conversation

soyuka
Copy link

@soyuka soyuka commented Jul 27, 2016

Php bug ref: https://bugs.php.net/bug.php?id=72524

According to sixd, to avoid this issue we should either reorder columns to put lobs at the end or always specify a length greater than 0 when using oci_bind.

This uses the second alternative because reordering insert columns would be a lot more work.

A test is available here: #2433

ping @deeky666

@soyuka
Copy link
Author

soyuka commented Aug 10, 2016

http://git.php.net/?p=php-src.git;a=commit;h=b601dc5b29147bb1402d78e7f33a90981a2f94f5

Has been fixed with oci8 2.1.2. This workaround works well with oci8 2.1.1.

@soyuka soyuka closed this Aug 10, 2016
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant