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

Add bindings for mysql_{library,thread}_{init,end} functions #75

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

codemage
Copy link

This allows clients to fix potential memory leaks discussed in http://sourceforge.net/p/mysql-python/bugs/177/

mysql_thread_end() is the important thing, but this change goes ahead and modernizes the docstrings and bindings for mysql_server_init/mysql_server_end to note that the mysql_server_* names are deprecated and offer mysql_library_* versions.

Walter Mundt added 2 commits June 20, 2014 11:15
This extracts _mysql_SetError and _mysql_SetErrorString functions from _mysql_Exception,
making the code a bit less repetetive and allowing them to be used later to raise other
types of exceptions.
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.

1 participant