DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(mysql.info.gz) C Embedded Server func

Info Catalog (mysql.info.gz) C Thread functions (mysql.info.gz) C (mysql.info.gz) C API problems
 
 22.2.12 C API Embedded Server Function Descriptions
 ---------------------------------------------------
 
 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.   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 4.1.10 and 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.
 

Menu

 
* mysql_server_init           `mysql_server_init()'
* mysql_server_end            `mysql_server_end()'
 
Info Catalog (mysql.info.gz) C Thread functions (mysql.info.gz) C (mysql.info.gz) C API problems
automatically generated byinfo2html