-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Use exception in OCI8 driver, instead of relying on assert #6596
Use exception in OCI8 driver, instead of relying on assert #6596
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. Can we cover this change with a test?
yeah, test has just been added |
@derrabus should be all good, the last failing test seems to be unrelated (and has happened a couple of times now)
|
The AppVeyor build failure is tracked in #6601. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Logic wise, looks good. Just nits.
@morozov its not clear why the last test failed, seems something in the setup of php extensions failed, but theres no log of it
|
@greg0ire here's another anomaly where the the modified code is reported as not covered. If you have a minute, could you analyze the coverage reports? I will run the test locally before merging. |
@segrax it's an intermittent setup failure which sometimes happen in our CI environment. I've restarted the build. Once we figure out what's wrong with test coverage, we will merge the PR. Thank you. |
I'm on my phone but from what I can see, only the appveyor files were processed. I'll reopen the codecov issue |
Fixes a bug where disabled asserts in production left oci_parse() errors unchecked. Now uses explicit checks and exceptions Add test for exception on oci_parse failure Fixes #6595
Thanks, @segrax. |
Fixes a bug where disabled asserts in production left oci_parse() errors unchecked. Now uses explicit checks and exceptions
Fixes #6595
Summary
Fixes a bug where disabled asserts in production left oci_parse()
errors unchecked. Now uses explicit checks and exceptions