diff options
author | monty@mysql.com <> | 2004-02-05 09:12:23 +0100 |
---|---|---|
committer | monty@mysql.com <> | 2004-02-05 09:12:23 +0100 |
commit | 7df839e7572bd6303896a04fbc070150d5ec6af2 (patch) | |
tree | 3272475be01b08f3194eb97d2ae230d2765a6c81 /include/my_pthread.h | |
parent | 13b092d3fe0895d8995aad571b76df18b089e1a5 (diff) | |
download | mariadb-git-7df839e7572bd6303896a04fbc070150d5ec6af2.tar.gz |
Added testing of pthread_key_delete (to fix compile problem on SCO) (Bug #2461)
DROP DATABASE now assumes RAID directories are in hex. (Bug #2627)
Don't increment 'select_full_range' and similar statistics for EXPLAIN queries. (Bug #2506)
Test in configure if pthread_key_delete() exists (to fix compile problem on SCO) (Bug #2461)
Diffstat (limited to 'include/my_pthread.h')
-rw-r--r-- | include/my_pthread.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/my_pthread.h b/include/my_pthread.h index 59367ee903c..40302f48bd5 100644 --- a/include/my_pthread.h +++ b/include/my_pthread.h @@ -384,6 +384,11 @@ struct tm *localtime_r(const time_t *clock, struct tm *res); #define pthread_condattr_destroy pthread_condattr_delete #endif +/* FSU THREADS */ +#if !defined(HAVE_PTHREAD_KEY_DELETE) && !defined(pthread_key_delete) +#define pthread_key_delete(A) pthread_dummy(0) +#endif + #ifdef HAVE_CTHREADS_WRAPPER /* For MacOSX */ #define pthread_cond_destroy(A) pthread_dummy(0) #define pthread_mutex_destroy(A) pthread_dummy(0) |