diff options
author | Vladislav Vaintroub <wlad@sun.com> | 2009-12-20 21:20:11 +0000 |
---|---|---|
committer | Vladislav Vaintroub <wlad@sun.com> | 2009-12-20 21:20:11 +0000 |
commit | 22c65346986d63c906e1d5a57941cadc367c2a9f (patch) | |
tree | f7e692982ded683eba2bcc4170b3fd63e496449a /include/myisam.h | |
parent | 2c145a94ffa902ef2330b94a7dabc965091e9f53 (diff) | |
download | mariadb-git-22c65346986d63c906e1d5a57941cadc367c2a9f.tar.gz |
Fix inconsistently defined THR_LOCK_myisam_mmap
It was pthread_mutex_t in mi_static.c and
mysql_mutex_t in my_thr_init.c
Solaris linker complains about different size of the
symbol.
Fix : use mysql_mutex_t everywhere.
Diffstat (limited to 'include/myisam.h')
-rw-r--r-- | include/myisam.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/myisam.h b/include/myisam.h index e9d1e4ab43e..e6404cb5405 100644 --- a/include/myisam.h +++ b/include/myisam.h @@ -260,7 +260,7 @@ extern ulong myisam_bulk_insert_tree_size, myisam_data_pointer_size; /* which is normally forbidden */ extern int (*myisam_test_invalid_symlink)(const char *filename); extern ulonglong myisam_mmap_size, myisam_mmap_used; -extern pthread_mutex_t THR_LOCK_myisam_mmap; +extern mysql_mutex_t THR_LOCK_myisam_mmap; /* Prototypes for myisam-functions */ |