diff options
author | monty@donna.mysql.fi <> | 2001-03-24 20:15:14 +0200 |
---|---|---|
committer | monty@donna.mysql.fi <> | 2001-03-24 20:15:14 +0200 |
commit | aa115733800a27fb5ba1f9dd9a3f05b1ec8ec445 (patch) | |
tree | e705394f8291c4c2268717e3fb70734414d0f1d9 /mysys/my_bitmap.c | |
parent | 2531f38803ff6804d6b195cb4f52cc55365435ed (diff) | |
download | mariadb-git-aa115733800a27fb5ba1f9dd9a3f05b1ec8ec445.tar.gz |
Added defines for fast mutex in glibc 2.2 (should be safe)
Fixed crash in SELECT DISTINCT SUM(...)
Fix return value of mysortncmp() for innobase
Fix join_crash bug
Diffstat (limited to 'mysys/my_bitmap.c')
-rw-r--r-- | mysys/my_bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_bitmap.c b/mysys/my_bitmap.c index a80aafd5605..f30298922df 100644 --- a/mysys/my_bitmap.c +++ b/mysys/my_bitmap.c @@ -34,7 +34,7 @@ my_bool bitmap_init(MY_BITMAP *map, uint bitmap_size) return 1; dbug_assert(bitmap_size != ~(uint) 0); #ifdef THREAD - pthread_mutex_init(&map->mutex, NULL); + pthread_mutex_init(&map->mutex, MY_MUTEX_INIT_FAST); #endif map->bitmap_size=bitmap_size; return 0; |