DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(mysql.info) c-embedded-server-func

Info Catalog (mysql.info) c-thread-functions (mysql.info) c (mysql.info) c-api-problems
 
 22.2.12 C API Embedded Server Function Descriptions
 ---------------------------------------------------
 

Menu

 
* mysql-server-init            `mysql_server_init()'
* mysql-server-end             `mysql_server_end()'
 
 If you want to allow your application to be linked against the embedded
 MySQL server library, you must use the `mysql_server_init()' and
 `mysql_server_end()' functions. See  libmysqld.
 
 However, to provide improved memory management, even programs that are
 linked with -lmysqlclient rather than -lmysqld should include calls to
 begin and end use of the library. As of MySQL 5.0.3, the
 `mysql_library_init()' and `mysql_library_end()' functions can be used
 to do this. These actually are `#define' symbols that make them
 equivalent to `mysql_server_init()' and `mysql_server_end()', but the
 names more clearly indicate that they should be called when beginning
 and ending use of a MySQL C API library no matter whether the
 application uses `libmysqlclient' or `libmysqld'. For more information,
 see  c-api-function-overview.
 
Info Catalog (mysql.info) c-thread-functions (mysql.info) c (mysql.info) c-api-problems
automatically generated byinfo2html