From 22c65346986d63c906e1d5a57941cadc367c2a9f Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Sun, 20 Dec 2009 21:20:11 +0000 Subject: 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. --- include/myisam.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/myisam.h') 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 */ -- cgit v1.2.1