This function finalizes the MySQL library. Call it when you
are done using the library (for example, after disconnecting
from the server). The action taken by the call depends on
whether your application is linked to the MySQL client library
or the MySQL embedded server library. For a client program
linked against the
by using the
some memory management to clean up. For an embedded server
application linked against the
library by using the
mysql_library_end() shuts down
the embedded server and then cleans up.
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
explicitly. This enables memory managment to be performed to
clean up and free resources used by the library.
For usage information, see Chapter 4, C API Function Reference, and Section 5.4.41, “mysql_library_init()”.