summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2002-05-15 16:36:41 +0300
committerunknown <monty@hundin.mysql.fi>2002-05-15 16:36:41 +0300
commit51594771687dfdee9d5d544863ccf77e8c8b74bd (patch)
treee81d9f0eeb50d39478bdd0ac4893fcde5fa0de1d /libmysqld
parenta15dfeda90d9d8d073a36ea6ac9cdfa66804877b (diff)
downloadmariadb-git-51594771687dfdee9d5d544863ccf77e8c8b74bd.tar.gz
Removed some long from mysqld comments (should be in manual).
Docs/manual.texi: Updated information about --temp-pool libmysql/libmysql.c: Call my_end() at exit libmysqld/lib_sql.cc: Call my_end() at exit sql/mysqld.cc: Removed some long comments (should be in manual).
Diffstat (limited to 'libmysqld')
-rw-r--r--libmysqld/lib_sql.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc
index 2a9a369e645..5b8df1d118d 100644
--- a/libmysqld/lib_sql.cc
+++ b/libmysqld/lib_sql.cc
@@ -568,6 +568,9 @@ void STDCALL mysql_server_end()
if (!org_my_init_done)
my_thread_end();
#endif
+ /* If library called my_init(), free memory allocated by it */
+ if (!org_my_init_done)
+ my_end(0);
}
my_bool STDCALL mysql_thread_init()