summaryrefslogtreecommitdiff
path: root/mysys/thr_mutex.c
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2000-08-22 00:18:32 +0300
committermonty@donna.mysql.com <>2000-08-22 00:18:32 +0300
commitf0952ce3e1e4a315efb62b09038bcd933b51d5a1 (patch)
treec129c5ccdb3df8c87c28c6a51baac6e208294313 /mysys/thr_mutex.c
parent48ee575ebcae86c55687b41e6af9c48c75f55d77 (diff)
downloadmariadb-git-f0952ce3e1e4a315efb62b09038bcd933b51d5a1.tar.gz
FLUSH TABLE table_list
Fixes for RENAME TABLE Portability fixes
Diffstat (limited to 'mysys/thr_mutex.c')
-rw-r--r--mysys/thr_mutex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/thr_mutex.c b/mysys/thr_mutex.c
index 7eea5be473b..9b9c7a8e407 100644
--- a/mysys/thr_mutex.c
+++ b/mysys/thr_mutex.c
@@ -37,7 +37,7 @@
#ifdef HAVE_NONPOSIX_PTHREAD_MUTEX_INIT
#define pthread_mutex_init(a,b) my_pthread_mutex_init((a),(b))
#endif
-#endif
+#endif /* DO_NOT_REMOVE_THREAD_WRAPPERS */
int safe_mutex_init(safe_mutex_t *mp,
const pthread_mutexattr_t *attr __attribute__((unused)))
@@ -211,4 +211,4 @@ int safe_mutex_destroy(safe_mutex_t *mp, const char *file, uint line)
return pthread_mutex_destroy(&mp->mutex);
}
-#endif /* SAFE_MUTEX */
+#endif /* THREAD && SAFE_MUTEX */