summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@sun.com>2009-12-20 21:20:11 +0000
committerVladislav Vaintroub <wlad@sun.com>2009-12-20 21:20:11 +0000
commit22c65346986d63c906e1d5a57941cadc367c2a9f (patch)
treef7e692982ded683eba2bcc4170b3fd63e496449a /include
parent2c145a94ffa902ef2330b94a7dabc965091e9f53 (diff)
downloadmariadb-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')
-rw-r--r--include/myisam.h2
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 */