-
Notifications
You must be signed in to change notification settings - Fork 7.8k
ext/mysqli tests "using password" optional in error messages #10035
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
d78a760
to
3be1281
Compare
Thank you for the PR! I'm not particularly concerned about these changes, but I wonder why the tests pass for me locally with MariaDB 10.5.13.0 (and almost certainly also in our CI), but fail for you. Also note that PHP 8.0 is no longer actively supported, so this could target PHP-8.1 at most. |
3be1281
to
0bd4cf6
Compare
If unix socket auth (or Windows auth_pipe) is used there is no "using password" in the error message. Its only when a true
|
Ah! Thank you. |
Thank you! |
Any reason for a non-8.1 fix? |
Like phpGH-10035 for ext/mysqli/tests/mysqli_connect.phpt test.
Apparently, GH is confused. b6b4a62 is on PHP-8.1 (https://github.com/php/php-src/blob/PHP-8.1/ext/mysqli/tests/mysqli_connect_oo.phpt), and I merged upwards (0ac9e8e and 4ae1f08). (PHP 8.0 is no longer actively supported) |
Ack. Sorry did see this eventually. |
In MariaDB the "using password" may not exist in the error message
e.g:
https://buildbot.mariadb.org/#/builders/237/builds/4279/steps/5/logs/stdio