mysql_library_end() - mysql/mysql.h
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 libmysqlclient library by using
the -lmysqlclient flag,
mysql_library_end() performs
some memory management to clean up. For an embedded server
application linked against the libmysqld
library by using the -lmysqld flag,
mysql_library_end() shuts down
the embedded server and then cleans up.libmysqlclient-lmysqlclientmysql_library_end()mysql_library_end()libmysqld-lmysqldmysql_library_end()mysql_library_end()For usage information, see
Section 25.8.6, “C API Function Overview”, and
Section 25.8.7.41, “mysql_library_init()”.Section 25.8.6, “C API Function Overview”Section 25.8.7.41, “mysql_library_init()”
Syntax
void mysql_library_end(void)
Example
Output / Return Value
Limitations
Alternatives / See Also
Reference