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

On Windows do not take WINAPI HANDLE of non-socket connections #216

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

choroba
Copy link
Member

@choroba choroba commented Jan 11, 2025

MariaDB and MySQL client libraries on Windows return zero value in my_socket type when connection to server is not of socket type.

Zero value may be interpreted as file descriptor for stdin, so skip processing of the zero value in socket related functions.

MariaDB and MySQL client libraries on Windows return zero value in
my_socket type when connection to server is not of socket type.

Zero value may be interpreted as file descriptor for stdin, so skip
processing of the zero value in socket related functions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants