1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Merge labbari.dsl.inet.fi:/home/my/bk/mysql-5.0-marvel

into  labbari.dsl.inet.fi:/home/my/bk/mysql-5.1-marvel
This commit is contained in:
jani@labbari.dsl.inet.fi
2007-07-06 13:49:15 +03:00
5 changed files with 41 additions and 4 deletions

View File

@ -168,8 +168,23 @@ int STDCALL mysql_server_init(int argc __attribute__((unused)),
}
/*
Free all memory and resources used by the client library
NOTES
When calling this there should not be any other threads using
the library.
To make things simpler when used with windows dll's (which calls this
function automaticly), it's safe to call this function multiple times.
*/
void STDCALL mysql_server_end()
{
if (!mysql_client_init)
return;
#ifdef EMBEDDED_LIBRARY
end_embedded_server();
#endif