diff options
author | monty@hundin.mysql.fi <> | 2001-12-20 06:14:11 +0200 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2001-12-20 06:14:11 +0200 |
commit | 0eb46e425619c44ccb286a40e0d7fda0498192cd (patch) | |
tree | 6238391b82cf68076a5dea6dd2e3c8c5c27473cd /include | |
parent | b1291364cbf3cd93ba1ad3b8397e30ee85321d93 (diff) | |
download | mariadb-git-0eb46e425619c44ccb286a40e0d7fda0498192cd.tar.gz |
Fix insert delated + query cache.
Fix pthread_mutex_trylock on HPUX (needed for query cache).
Diffstat (limited to 'include')
-rw-r--r-- | include/my_pthread.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/my_pthread.h b/include/my_pthread.h index e6cd039c80e..4ca42339897 100644 --- a/include/my_pthread.h +++ b/include/my_pthread.h @@ -448,8 +448,10 @@ struct hostent *my_gethostbyname_r(const char *name, #if defined(HPUX) && !defined(DONT_REMAP_PTHREAD_FUNCTIONS) #define pthread_cond_timedwait(a,b,c) my_pthread_cond_timedwait((a),(b),(c)) +#define pthread_mutex_trylock(a) my_pthread_mutex_trylock((a)) int my_pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, struct timespec *abstime); +int my_pthread_mutex_trylock(pthread_mutex_t *mutex); #endif /* safe_mutex adds checking to mutex for easier debugging */ |