summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormonty@donna.mysql.fi <>2001-02-21 14:16:00 +0200
committermonty@donna.mysql.fi <>2001-02-21 14:16:00 +0200
commit1c298277f9ff4aa38b847c3de083e0d54e27a247 (patch)
tree34f7d174c7e612bd03a5cf88fe4e2ac2411a33a4 /include
parentf45764791b6bc6de8740ca160de94f4f3f2ab1c4 (diff)
downloadmariadb-git-1c298277f9ff4aa38b847c3de083e0d54e27a247.tar.gz
Fixes for innobase
Added test for ALTER TABLE ORDER BY
Diffstat (limited to 'include')
-rw-r--r--include/my_pthread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/my_pthread.h b/include/my_pthread.h
index c8d0d2c9d0a..3d011f61ca2 100644
--- a/include/my_pthread.h
+++ b/include/my_pthread.h
@@ -441,6 +441,7 @@ int safe_cond_timedwait(pthread_cond_t *cond, safe_mutex_t *mp,
#define pthread_mutex_destroy(A) safe_mutex_destroy((A),__FILE__,__LINE__)
#define pthread_cond_wait(A,B) safe_cond_wait((A),(B),__FILE__,__LINE__)
#define pthread_cond_timedwait(A,B,C) safe_cond_timedwait((A),(B),(C),__FILE__,__LINE__)
+#define pthread_mutex_trylock(A) pthread_mutex_lock(A)
#define pthread_mutex_t safe_mutex_t
#endif /* SAFE_MUTEX */