-
Notifications
You must be signed in to change notification settings - Fork 7.8k
[RFC] Transition SQLite3 to exceptions #11058
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
Conversation
The RFC was accepted 21 to zero. |
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.
Could you update the UPGRADING file with a relevant entry
Can we get this merged for PHP 8.3? Thanks :) |
Would you mind rebasing your branch please ? It ll be merged in due time no worries :) |
I'm sorry but git is bringing thousands of unrelated changes when doing "git rebase -i", don't you have a github button to do that? |
Co-authored-by: Tim Düsterhus <[email protected]>
066dd7d
to
4973ca3
Compare
@bohwaz Can you just double check that I rebased the branch correctly? |
Thank you very much, I don't see any issue so far. |
This reverts commit ddd9a08.
With this patch, exceptions are thrown using the SQLite3Exception class, and enabling warnings is deprecated.
Also, the error code is passed as the exception code, and not in the error message anymore.
BC-break: yes.
RFC: https://wiki.php.net/rfc/sqlite3_exceptions