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

Fix calls to mysql_server_end()/mysql_library_end() #432

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

dveeden
Copy link
Collaborator

@dveeden dveeden commented Jun 13, 2024

  • Stop calling mysql_library_end() in dbd_db_destroy() as this leads to issues with OpenSSL in specific circumstances.
  • Call myql_library_end() instead of mysql_server_end() as the latter has been deprecated.

See also:

Closes #431

dbdimp.c Show resolved Hide resolved
- Stop calling `mysql_library_end()` in `dbd_db_destroy()` as this leads
  to issues with OpenSSL in specific circumstances.
- Call `myql_library_end()` instead of `mysql_server_end()` as the
  latter has been deprecated.
- Add missing define for `dbd_discon_all`

See also:
- https://dev.mysql.com/doc/c-api/8.4/en/mysql-server-end.html
- https://dev.mysql.com/doc/c-api/8.4/en/mysql-library-end.html

Closes perl5-dbi#431
@dveeden dveeden added this to the 5.007 milestone Jun 18, 2024
@dveeden dveeden merged commit b67c6db into perl5-dbi:master Jun 20, 2024
5 of 6 checks passed
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.

SSL problems after locally scoped disconnect
2 participants