mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Fix insert delated + query cache.
Fix pthread_mutex_trylock on HPUX (needed for query cache). include/my_pthread.h: Fixed mutex problem with pthread_mutex_trylock on HPUX. mysql-test/mysql-test-run.sh: Wait for .pid file instead of .sock, because .pid is created later. mysql-test/r/query_cache.result: Test insert delated + query cache mysql-test/t/query_cache.test: Test insert delated + query cache mysys/my_pthread.c: Fixed mutex problem with pthread_mutex_trylock on HPUX. sql/repl_failsafe.cc: Safety sql/sql_insert.cc: Fix insert delated + query cache
This commit is contained in:
@ -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 */
|
||||
|
Reference in New Issue
Block a user