Documentation Home
MySQL 8.0 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 37.7Mb
PDF (A4) - 37.7Mb
PDF (RPM) - 33.8Mb
HTML Download (TGZ) - 8.4Mb
HTML Download (Zip) - 8.4Mb
HTML Download (RPM) - 7.2Mb
Man Pages (TGZ) - 130.0Kb
Man Pages (Zip) - 185.6Kb
Info (Gzip) - 3.3Mb
Info (Zip) - 3.3Mb


Pre-General Availability Draft: 2018-02-16

28.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 28.7.6, “C API Function Overview”, and Section 28.7.7.41, “mysql_library_init()”.


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