-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
ext/mysqlnd: fix passing wrong parameter after a893a49 #18014
base: PHP-8.3
Are you sure you want to change the base?
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.
Good catch! Is there any way to add a test for this?
It should also be fixed in earlier versions I presume. |
I'll take a look.
yeah. forgot about upmerging. PHP-8.3 right? |
a50b327
to
985a078
Compare
Unfortunately these member variables aren't even used in any internal code. So testing is not possible. Maybe these are some left overs from the reconnect feature? |
I don't think we ever had a reconnect feature in mysqlnd. It could be a left-over from some old feature, which sounds plausible given that there were no bug reports for this yet. I think this needs more investigation. If it's not used, then this piece of code should be removed. |
So I looked back in the history and these variables are in since the introduction of st_mysqlnd_connection back in 2007. However even then there was no actual use of the stored information. |
Stumbled upon this. Looks like a wrong replacement in a893a49.