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

Properly catch lowlevel MySQLi connection errors again #4646

Closed
wants to merge 1 commit into from

Conversation

mbrodala
Copy link

@mbrodala mbrodala commented May 12, 2021

Q A
Type bug
BC Break no
Fixed issues #4645

Summary

Restore the original error handling for MySQLi connections.

If a set_error_handler() callback returns false, the PHP error handler will be involved. This is a regression since the previous version implicitly returned null and thus skipped the PHP error handler.

See 26c7adc
And 4a5be97

If a set_error_handler() callback returns "false", the PHP error handler will be involved. This is a regression since the previous version implicitly returned "null" and thus skipped the PHP error handler.

See doctrine@26c7adc
And doctrine@4a5be97
@morozov
Copy link
Member

morozov commented May 13, 2021

@mbrodala this must have been addressed in #4647.

@mbrodala
Copy link
Author

@morozov Yes, I can confirm that your fix solves my problem. So my interim fix here can be skipped. 👍

@mbrodala mbrodala closed this May 14, 2021
@mbrodala mbrodala deleted the patch-1 branch May 14, 2021 07:55
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 21, 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.

2 participants