Documentation Home
MySQL 8.0 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 37.9Mb
PDF (A4) - 37.9Mb
PDF (RPM) - 33.0Mb
HTML Download (TGZ) - 8.0Mb
HTML Download (Zip) - 8.1Mb
HTML Download (RPM) - 6.9Mb
Man Pages (TGZ) - 132.9Kb
Man Pages (Zip) - 189.5Kb
Info (Gzip) - 3.4Mb
Info (Zip) - 3.4Mb
Excerpts from this Manual

27.7.7.40 mysql_library_end()

void mysql_library_end(void)

Description

This function finalizes the MySQL client library. Call it when you are done using the library (for example, after disconnecting from the server).

Note

To avoid memory leaks after the application is done using the library (for example, after closing the connection to the server), be sure to call mysql_library_end() explicitly. This enables memory managment to be performed to clean up and free resources used by the library.

For usage information, see Section 27.7.6, “C API Function Overview”, and Section 27.7.7.41, “mysql_library_init()”.


User Comments
Sign Up Login You must be logged in to post a comment.