-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Fix GH-11550: MySQL Statement has a empty query result when the response field has changed, also Segmentation fault #11551
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
…has changed, also Segmentation fault
I can't review it properly right now, but a few points:
- don't add unnecessary parentheses after require statement
- when you include "connect.inc", use the helper functions from it instead
of instantiating new mysqli
- don't change unrelated files. If you want to fix the debug comments, do
it in separate pr revised against master
…On Wed, Jun 28, 2023, 16:07 George Peter Banyard ***@***.***> wrote:
@Girgias <https://github.com/Girgias> requested your review on: #11551
<#11551> Fix GH-11550
<#11550>: MySQL Statement has a
empty query result when the response field has changed, also Segmentation
fault.
—
Reply to this email directly, view it on GitHub
<#11551 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABSHGGCNYM3LODYXJKEZXNTXNQ3DDANCNFSM6AAAAAAZWWASZY>
.
You are receiving this because your review was requested.Message ID:
***@***.***>
|
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.
I totally approve that.
This reverts commit d5d0b41.
I have modified the code, except for mysqli. |
@kamil-tekiela Could you review this PR? This problem is fatal in memory-resident applications (e.g. Workerman, Swoole, etc.) |
…has changed, also Segmentation fault Closes phpGH-11551.
fix #11550
Segmentation fault also occurs in PHP 8.0, should it be merged into the PHP-8.0 branch?