summaryrefslogtreecommitdiff
path: root/innobase/os
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2003-05-14 19:00:17 +0300
committerunknown <heikki@hundin.mysql.fi>2003-05-14 19:00:17 +0300
commit23d7a317eea687133028801e2aafda31d3ddafa3 (patch)
tree66e98e5958eb4f14c9e41c58d3d4f344bf2201dd /innobase/os
parent7297502a7bc6ab09d8e7c6cbd822bba4d58d4977 (diff)
downloadmariadb-git-23d7a317eea687133028801e2aafda31d3ddafa3.tar.gz
os0sync.c:
We had forgotten to call pthread_mutex_destroy when we free an OS mutex in Unix innobase/os/os0sync.c: We had forgotten to call pthread_mutex_destroy when we free an OS mutex in Unix
Diffstat (limited to 'innobase/os')
-rw-r--r--innobase/os/os0sync.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/innobase/os/os0sync.c b/innobase/os/os0sync.c
index a9127e6310a..83b2961c3ca 100644
--- a/innobase/os/os0sync.c
+++ b/innobase/os/os0sync.c
@@ -495,10 +495,7 @@ os_fast_mutex_free(
ut_a(fast_mutex);
DeleteCriticalSection((LPCRITICAL_SECTION) fast_mutex);
-#elif defined(__NETWARE__) || defined(SAFE_MUTEX_DETECT_DESTROY)
- pthread_mutex_destroy(fast_mutex);
#else
- UT_NOT_USED(fast_mutex);
-
+ pthread_mutex_destroy(fast_mutex);
#endif
}