summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2003-10-16 20:55:15 +0300
committermonty@mashka.mysql.fi <>2003-10-16 20:55:15 +0300
commitb1dba93cdb75d52d5754a55521d429e2005a6d49 (patch)
tree15abb95c73d02f77be5ffd9d90398f905401d815 /libmysqld
parent3414cf2e9fade61841fb2a9e460fb118a8c4911b (diff)
downloadmariadb-git-b1dba93cdb75d52d5754a55521d429e2005a6d49.tar.gz
Safety fix to detect multiple calls to my_thread_end()
Portability fix (For Mac OS X)
Diffstat (limited to 'libmysqld')
-rw-r--r--libmysqld/lib_sql.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc
index 52ff08b8787..d33f384f81e 100644
--- a/libmysqld/lib_sql.cc
+++ b/libmysqld/lib_sql.cc
@@ -621,11 +621,6 @@ void STDCALL mysql_server_end()
my_free((char*) copy_arguments_ptr, MYF(MY_ALLOW_ZERO_PTR));
copy_arguments_ptr=0;
clean_up(0);
-#ifdef THREAD
- /* Don't call my_thread_end() if the application is using MY_INIT() */
- 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);